Rename typings folder

This commit is contained in:
Northword 2023-07-01 17:50:50 +08:00
parent d2d8922f66
commit fd3fafe8fc
3 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class Addon {
* and comment line 31: `ztoolkit: new ZoteroToolkit(),`. * and comment line 31: `ztoolkit: new ZoteroToolkit(),`.
* 2. Uncomment this file's line 10: `ztoolkit: MyToolkit;` in this file * 2. Uncomment this file's line 10: `ztoolkit: MyToolkit;` in this file
* and comment line 11: `ztoolkit: ZoteroToolkit;`. * and comment line 11: `ztoolkit: ZoteroToolkit;`.
* 3. Uncomment `./typing/global.d.ts` line 12: `declare const ztoolkit: import("../src/addon").MyToolkit;` * 3. Uncomment `../typings/global.d.ts` line 12: `declare const ztoolkit: import("../src/addon").MyToolkit;`
* and comment line 13: `declare const ztoolkit: import("zotero-plugin-toolkit").ZoteroToolkit;`. * and comment line 13: `declare const ztoolkit: import("zotero-plugin-toolkit").ZoteroToolkit;`.
* *
* You can now add the modules under the `MyToolkit` class. * You can now add the modules under the `MyToolkit` class.

View File

@ -7,6 +7,6 @@
"skipLibCheck": true, "skipLibCheck": true,
"strict": true "strict": true
}, },
"include": ["src", "typing", "node_modules/zotero-types"], "include": ["src", "typings", "node_modules/zotero-types"],
"exclude": ["builds", "addon"] "exclude": ["builds", "addon"]
} }