update: zotero-types 1.0.0

This commit is contained in:
xiangyu 2023-01-10 19:21:42 +08:00
parent a8dcf5e310
commit 16c3952f80
3 changed files with 3 additions and 3 deletions

View File

@ -40,6 +40,6 @@
"esbuild": "^0.16.10", "esbuild": "^0.16.10",
"release-it": "^14.14.3", "release-it": "^14.14.3",
"replace-in-file": "^6.3.5", "replace-in-file": "^6.3.5",
"zotero-types": "^0.1.5" "zotero-types": "^1.0.0"
} }
} }

View File

@ -364,7 +364,7 @@ export class UIExampleFactory {
panel: XUL.TabPanel | undefined, panel: XUL.TabPanel | undefined,
deck: XUL.Deck, deck: XUL.Deck,
win: Window, win: Window,
reader: _ZoteroReaderInstance reader: _ZoteroTypes.ReaderInstance
) => { ) => {
if (!panel) { if (!panel) {
ztoolkit.log( ztoolkit.log(

2
typing/global.d.ts vendored
View File

@ -1,7 +1,7 @@
declare const _globalThis: { declare const _globalThis: {
[key: string]: any; [key: string]: any;
Zotero: _ZoteroConstructable; Zotero: _ZoteroConstructable;
ZoteroPane: _ZoteroPaneConstructable; ZoteroPane: _ZoteroTypes.ZoteroPane;
Zotero_Tabs: typeof Zotero_Tabs; Zotero_Tabs: typeof Zotero_Tabs;
window: Window; window: Window;
document: Document; document: Document;