Skip to content

Commit

Permalink
fix(skeleton): TS plugin skeleton to generate d.ts files
Browse files Browse the repository at this point in the history
Thank @Stefan for the fix.
  • Loading branch information
3cp committed Apr 8, 2019
1 parent eeb59c8 commit 22075c1
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions skeleton/common/tsconfig.json__if_typescript
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@
"compilerOptions": {
// @if feat['cli-bundler']
"module": "amd",
"declaration": false,
"noImplicitAny": false,

// @if feat.plugin
"declaration": true,
// @endif

// @if !feat.plugin
"declaration": false,
// @endif

// @endif

// @if feat.webpack
Expand All @@ -31,11 +39,15 @@
"target": "es5",
"lib": ["es2015", "dom"],
"moduleResolution": "node",
"allowJs": true,
"baseUrl": "src",

// @if feat.plugin
"paths": { "resources": [ "" ] },
"allowJs": false,
// @endif

// @if !feat.plugin
"allowJs": true,
// @endif
},
"include": [
Expand Down

0 comments on commit 22075c1

Please sign in to comment.