• 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
..
anchoring Loading commit data...
components Loading commit data...
config Loading commit data...
integrations Loading commit data...
test Loading commit data...
util Loading commit data...
.eslintrc.js Loading commit data...
adder.js Loading commit data...
annotation-counts.js Loading commit data...
bucket-bar-client.js Loading commit data...
bucket-bar.js Loading commit data...
features.js Loading commit data...
frame-observer.js Loading commit data...
guest.js Loading commit data...
highlighter.js Loading commit data...
hypothesis-injector.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
notebook.js Loading commit data...
range-util.js Loading commit data...
selection-observer.js Loading commit data...
sidebar-trigger.js Loading commit data...
sidebar.js Loading commit data...
toolbar.js Loading commit data...