Skip to content

Commit

Permalink
since IDE’s will look at the root tsconfig.json it can cause them to …
Browse files Browse the repository at this point in the history
…error out when the “dom” lib is not included

Add "dom" lib to root tsconfig.json.

Add "dom" lib to root tsconfig.json.
  • Loading branch information
Danny Blue committed Feb 27, 2017
1 parent a6289f8 commit 39db3b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@angular/cli/blueprints/ng/files/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016"
"es2016",
"dom"
]
}
}

0 comments on commit 39db3b3

Please sign in to comment.