Skip to content

Commit

Permalink
add tslib and use importHelpers - fixes #919
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Nov 12, 2017
1 parent 45f061e commit f80cc61
Show file tree
Hide file tree
Showing 3 changed files with 565 additions and 367 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,8 @@
"src/**/__test__.js",
"src/shared/**"
]
},
"dependencies": {
"tslib": "^1.8.0"
}
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"noImplicitThis": true,
"noEmitOnError": true,
"allowJs": true,
"lib": ["es5", "es6", "dom"]
"lib": ["es5", "es6", "dom"],
"importHelpers": true
},
"target": "ES5",
"include": [
Expand Down
Loading

0 comments on commit f80cc61

Please sign in to comment.