10000 [Transforms] Import external helpers module by rbuckton · Pull Request #9097 · microsoft/TypeScript · GitHub
[go: up one dir, main page]

Skip to content

[Transforms] Import external helpers module #9097

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 15, 2016
Prev Previous commit
Next Next commit
Merge branch 'transforms' into transforms-importHelpers
  • Loading branch information
rbuckton committed Jun 14, 2016
commit 147addb4e92b50d772b02b78f55ac8ebe81aa2d0
6 changes: 5 additions & 1 deletion src/compiler/diagnosticMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2768,10 +2768,14 @@
"category": "Error",
"code": 6131
},
"Import emit helpers from 'tslib'.": {
"File name '{0}' has a '{1}' extension - stripping it": {
"category": "Message",
"code": 6132
},
"Import emit helpers from 'tslib'.": {
"category": "Message",
"code": 6133
},

"Variable '{0}' implicitly has an '{1}' type.": {
"category": "Error",
Expand Down
4 changes: 3 additions & 1 deletion src/compiler/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1725,6 +1725,7 @@ namespace ts {
/* @internal */ resolvedTypeReferenceDirectiveNames: Map<ResolvedTypeReferenceDirective>;
/* @internal */ imports: LiteralExpression[];
/* @internal */ moduleAugmentations: LiteralExpression[];
/* @internal */ patternAmbientModules?: PatternAmbientModule[];
// The synthesized identifier for an imported tslib helpers runtime.
/* @internal */ tslib?: Identifier;
}
Expand Down Expand Up @@ -2584,10 +2585,11 @@ namespace ts {
experimentalDecorators?: boolean;
forceConsistentCasingInFileNames?: boolean;
/*@internal*/help?: boolean;
importHelpers?: boolean;
/*@internal*/init?: boolean;
inlineSourceMap?: boolean;
inlineSources?: boolean;
importHelpers?: boolean;
isolatedModules?: boolean;
jsx?: JsxEmit;
lib?: string[];
/*@internal*/listEmittedFiles?: boolean;
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0