• Robert Knight's avatar
    Improve types of annotation values in several places · 711427e6
    Robert Knight authored
     - Introduce a `SavedAnnotation` type to represent annotations which
       have definitely been saved and an associated `isSaved` function to
       test. Use this as the type for several methods which used to
       implicitly assume they were passed a saved annotation.
    
       Calls to `isSaved` have also been added in several places to check
       that an annotation has been saved, although this should always have
       been the case in practice.
    
     - Add missing annotation types to various parameters in
       `AnnotationsService`
    711427e6
Name
Last commit
Last update
..
annotator.js Loading commit data...
api.js Loading commit data...
config.js Loading commit data...
pdfjs.js Loading commit data...
port-rpc-events.d.ts Loading commit data...
process.d.ts Loading commit data...
rpc.js Loading commit data...
sidebar.js Loading commit data...