Skip to content

Commit

Permalink
Merge pull request #920 from sveltejs/gh-919
Browse files Browse the repository at this point in the history
add tslib and use importHelpers - fixes #919
  • Loading branch information
Rich-Harris authored Nov 12, 2017
2 parents 45f061e + f80cc61 commit 70750a9
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 70750a9

Please sign in to comment.