Skip to content

Commit

Permalink
fix: remove default import from .d.ts
Browse files Browse the repository at this point in the history
And add @types/browserify dependency.
  • Loading branch information
cartant committed Aug 11, 2020
1 parent a4d7287 commit 2350dc6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { BrowserifyObject, CustomOptions } from "browserify";
import typescript, { CompilerOptions, ModuleKind, ScriptTarget } from "typescript";
import * as typescript from "typescript";
import { CompilerOptions, ModuleKind, ScriptTarget } from "typescript";

// Provide local definition of Omit for compatibility with TypeScript <3.5
type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
Expand Down
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"node": ">=0.12"
},
"dependencies": {
"@types/browserify": "^12.0.36",
"convert-source-map": "^1.1.0",
"fs.realpath": "^1.0.0",
"object-assign": "^4.1.0",
Expand Down

0 comments on commit 2350dc6

Please sign in to comment.