• Robert Knight's avatar
    Refine types of `config` parameters in annotator code · d333f326
    Robert Knight authored
    Various functions and constructors in the annotator code accepted a `config`
    parameter with an uninformative `Record<string, any>` type.  Replace these types
    with more specific ones that specify required / known optional properties
    directly and use `Record<string, unknown>` for properties which are forwarded to
    other contexts.
    
    Also improve the documentation for the `getConfig` function which serves
    as the entry point for reading configuration in the annotator.
    d333f326
Name
Last commit
Last update
..
test Loading commit data...
AdderToolbar.js Loading commit data...
Banners.js Loading commit data...
Buckets.js Loading commit data...
ContentPartnerBanner.js Loading commit data...
NotebookModal.js Loading commit data...
Toolbar.js Loading commit data...
WarningBanner.js Loading commit data...