Skip to content

Commit

Permalink
feat: generate ambient types from implementation (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell authored and johnnyreilly committed Jun 8, 2018
1 parent 9d8a6b8 commit b065678
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .npmignore
@@ -1,4 +1,3 @@
*.ts
.vscode
.test
examples
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.3.1",
"description": "TypeScript loader for webpack",
"main": "index.js",
"types": "dist/types/index.d.ts",
"scripts": {
"build": "tsc --version && tsc --project \"./src\"",
"comparison-tests": "npm link ./test/comparison-tests/testLib && node test/comparison-tests/run-tests.js",
Expand Down
4 changes: 3 additions & 1 deletion src/tsconfig.json
Expand Up @@ -8,6 +8,8 @@
"strict": true,
"module": "commonjs",
"moduleResolution": "node",
"outDir": "../dist"
"declaration": true,
"outDir": "../dist",
"declarationDir": "../dist/types"
}
}

0 comments on commit b065678

Please sign in to comment.