Update default export of Diva.js (#42805)

This commit is contained in:
Juliette Regimbal 2020-03-03 20:36:59 -05:00 committed by GitHub
parent 42f9f55fbb
commit a3700d8358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,8 @@ interface DivaState {
}
export class Diva {
static Events: DivaEvent;
element: HTMLElement;
options: Options;
viewerState: ViewerState;
@ -451,9 +453,4 @@ export class DivaEvent {
unsubscribeAll(instanceID: string): void;
}
declare const Global: {
new(element: string, options: Partial<Options> & { objectData: string | object }): Diva;
Events: DivaEvent;
};
export { Global as default };
export { Diva as default };