Skip to content

Commit

Permalink
fix: typing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyu committed Aug 31, 2022
1 parent cef9153 commit 7c9a355
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
7 changes: 0 additions & 7 deletions jsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
},
"devDependencies": {
"release-it": "^14.14.0",
"zotero-types": "^0.0.1"
"zotero-types": "^0.0.3"
}
}
1 change: 0 additions & 1 deletion src/events.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Zotero } from "zotero-types";
import { Addon, addonName } from "./addon";
import AddonModule from "./module";

Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Zotero } from "zotero-types";
import { Addon } from "./addon";

Zotero.AddonTemplate = new Addon();
Expand Down
1 change: 0 additions & 1 deletion src/views.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { XUL, Zotero } from "zotero-types";
import { Addon } from "./addon";
import AddonModule from "./module";
const { addonRef } = require("../package.json");
Expand Down
15 changes: 15 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
},
"include": [
"src",
"typing",
"node_modules/zotero-types"
],
"exclude": [
"builds",
"addon"
]
}

0 comments on commit 7c9a355

Please sign in to comment.