-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
microsoft/tslib
#18Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHigh Priority
Milestone
Description
Reported in #12724 (comment)
I am using JSPM, so I modified my tsconfig.json:
{
"compilerOptions": {"baseUrl": ".",
"paths": {
"tslib": [ "jspm_packages/npm/tslib@1.2.0/tslib.d.ts" ]
},
and compiler is now OK.
But there is a problem with runtime (Uncaught (in promise) Error: (SystemJS) tslib.__assign is not a function in Chrome).
tslib.js is correctly loaded, but its factory is never called.
jspm.config.js
SystemJS.config({
paths: {
"tslib": "jspm_packages/npm/tslib/tslib",
aluanhaddad
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHigh Priority