You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/types.ts
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -577,7 +577,7 @@ module ts {
577
577
exportinterfaceSourceMapData{
578
578
/** Where the sourcemap file is written */
579
579
sourceMapFilePath: string;
580
-
/** source map url written in the js file */
580
+
/** source map URL written in the js file */
581
581
jsSourceMappingURL: string;
582
582
/** Source map's file field - js file name*/
583
583
sourceMapFile: string;
@@ -596,7 +596,17 @@ module ts {
596
596
sourceMapDecodedMappings: SourceMapSpan[];
597
597
}
598
598
599
+
// Return code used by getEmitOutput function to indicate status of the function
600
+
exportenumEmitReturnStatus{
601
+
Succeeded=0,// All outputs generated as requested (.js, .map, .d.ts), no errors reported
602
+
AllOutputGenerationSkipped=1,// No .js generated because of syntax errors, or compiler options errors, nothing generated
603
+
JSGeneratedWithSemanticErrors=2,// .js and .map generated with semantic errors
604
+
DeclarationGenerationSkipped=3,// .d.ts generation skipped because of semantic errors or declaration emitter specific errors; Output .js with semantic errors
605
+
EmitErrorsEncountered=4// Emitter errors occurred during emitting process
606
+
}
607
+
599
608
exportinterfaceEmitResult{
609
+
emitResultStatus: EmitReturnStatus;
600
610
errors: Diagnostic[];
601
611
sourceMaps: SourceMapData[];// Array of sourceMapData if compiler emitted sourcemaps
0 commit comments