Skip to content

Commit

Permalink
fix(typescript): include @types/node instead of shimming process
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 25, 2018
1 parent 0c9ecd5 commit f9c8849
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
declare var process: {
env: { [key: string]: string }
};

declare module '*.vue' {
import Vue from 'vue';
export default Vue;
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"globby": "^7.1.1",
"ts-loader": "^3.3.1",
"tslint": "^5.9.1",
"typescript": "^2.6.2"
"typescript": "^2.6.2",
"@types/node": "^9.3.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "7 || ^7.0.0-beta || ^7.0.0-rc",
Expand Down

0 comments on commit f9c8849

Please sign in to comment.