mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-04 07:52:51 +00:00
Update default export of Diva.js (#42805)
This commit is contained in:
parent
42f9f55fbb
commit
a3700d8358
9
types/diva.js/index.d.ts
vendored
9
types/diva.js/index.d.ts
vendored
@ -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 };
|
||||
|
||||
Loading…
Reference in New Issue
Block a user