fix: typing bug
This commit is contained in:
parent
cef9153bc5
commit
7c9a35591e
@ -1,7 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
},
|
||||
"exclude": ["node_modules", "builds"]
|
||||
}
|
@ -34,6 +34,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"release-it": "^14.14.0",
|
||||
"zotero-types": "^0.0.1"
|
||||
"zotero-types": "^0.0.3"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { Zotero } from "zotero-types";
|
||||
import { Addon, addonName } from "./addon";
|
||||
import AddonModule from "./module";
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { Zotero } from "zotero-types";
|
||||
import { Addon } from "./addon";
|
||||
|
||||
Zotero.AddonTemplate = new Addon();
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { XUL, Zotero } from "zotero-types";
|
||||
import { Addon } from "./addon";
|
||||
import AddonModule from "./module";
|
||||
const { addonRef } = require("../package.json");
|
||||
|
15
tsconfig.json
Normal file
15
tsconfig.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
},
|
||||
"include": [
|
||||
"src",
|
||||
"typing",
|
||||
"node_modules/zotero-types"
|
||||
],
|
||||
"exclude": [
|
||||
"builds",
|
||||
"addon"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user