Skip to content

Commit 85ac74d

Browse files
committed
chore(typescript) update to latest
refs microsoft/TypeScript#7732
1 parent 8d43dd1 commit 85ac74d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/main/lang/modules/building.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function emitFile(proj, filePath) {
2626
var output = services.getEmitOutput(filePath);
2727
var emitDone = !output.emitSkipped;
2828
var errors = [];
29-
var sourceFile = services.getSourceFile(filePath);
29+
var sourceFile = services.getNonBoundSourceFile(filePath);
3030
var allDiagnostics = services.getCompilerOptionsDiagnostics()
3131
.concat(services.getSyntacticDiagnostics(filePath))
3232
.concat(services.getSemanticDiagnostics(filePath));

lib/main/lang/modules/building.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function emitFile(proj: project.Project, filePath: string): EmitOutput {
3535
var emitDone = !output.emitSkipped;
3636
var errors: CodeError[] = [];
3737

38-
let sourceFile = services.getSourceFile(filePath);
38+
let sourceFile = services.getNonBoundSourceFile(filePath);
3939

4040
// Emit is no guarantee that there are no errors
4141
// so lets collect those
@@ -180,7 +180,7 @@ function runExternalTranspiler(sourceFileName: string,
180180
if (externalTranspiler.name.toLocaleLowerCase() === "babel") {
181181
return getBabelInstance(project.projectFile.projectFileDirectory).then((babel) => {
182182

183-
let babelOptions: any = assign(babelConfigs[project.projectFile.projectFileDirectory] || {}, externalTranspiler.options || {}, {
183+
let babelOptions: any = assign(babelConfigs[project.projectFile.projectFileDirectory] || {}, (externalTranspiler as any).options || {}, {
184184
filename: outputFile.name
185185
});
186186

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"immutable": "^3.7.3",
6262
"json2dts": "0.0.1",
6363
"mkdirp": "^0.5.0",
64-
"ntypescript": "1.201602232306.1",
64+
"ntypescript": "1.201603290104.1",
6565
"react": "^0.13.3",
6666
"season": "^5.1.4",
6767
"tsconfig": "^2.2.0",

0 commit comments

Comments
 (0)