• Robert Knight's avatar
    Typecheck UI components in src/annotator/components · f6042890
    Robert Knight authored
    This follows the same pattern that was introduced for `SvgIcon` in
    `propTypes` declarations are kept around for use at runtime by other
    code which is not yet typechecked.
    
    An issue that I encountered is that TS doesn't know about the custom
    HTML element types we use. For the moment I have ignored these with
    `@ts-ignore`, although I believe it should be possible to teach it.
    f6042890
Name
Last commit
Last update
..
anchoring Loading commit data...
components Loading commit data...
config Loading commit data...
plugin 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...
annotation-sync.js Loading commit data...
delegator.coffee Loading commit data...
features.js Loading commit data...
frame-observer.js Loading commit data...
guest.coffee Loading commit data...
highlighter.js Loading commit data...
host.coffee Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
pdf-sidebar.js Loading commit data...
pdfjs-rendering-states.js Loading commit data...
plugin.coffee Loading commit data...
range-util.js Loading commit data...
selections.js Loading commit data...
sidebar-trigger.js Loading commit data...
sidebar.coffee Loading commit data...
toolbar.js Loading commit data...