diff --git a/package.json b/package.json index 02ba8ef..7b24c54 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,6 @@ "esbuild": "^0.16.10", "release-it": "^14.14.3", "replace-in-file": "^6.3.5", - "zotero-types": "^0.1.5" + "zotero-types": "^1.0.0" } } diff --git a/src/modules/examples.ts b/src/modules/examples.ts index 69cf4c4..804a043 100644 --- a/src/modules/examples.ts +++ b/src/modules/examples.ts @@ -364,7 +364,7 @@ export class UIExampleFactory { panel: XUL.TabPanel | undefined, deck: XUL.Deck, win: Window, - reader: _ZoteroReaderInstance + reader: _ZoteroTypes.ReaderInstance ) => { if (!panel) { ztoolkit.log( diff --git a/typing/global.d.ts b/typing/global.d.ts index fa52c31..fb221a3 100644 --- a/typing/global.d.ts +++ b/typing/global.d.ts @@ -1,7 +1,7 @@ declare const _globalThis: { [key: string]: any; Zotero: _ZoteroConstructable; - ZoteroPane: _ZoteroPaneConstructable; + ZoteroPane: _ZoteroTypes.ZoteroPane; Zotero_Tabs: typeof Zotero_Tabs; window: Window; document: Document;