Skip to content

Commit 7a25525

Browse files
committed
Mention outFile
1 parent eabc012 commit 7a25525

File tree

252 files changed

+504
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+504
-1
lines changed

src/compiler/program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4407,7 +4407,7 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
44074407
createDeprecatedDiagnostic("charset");
44084408
}
44094409
if (options.out) {
4410-
createDeprecatedDiagnostic("out");
4410+
createDeprecatedDiagnostic("out", /*value*/ undefined, "outFile");
44114411
}
44124412
if (options.importsNotUsedAsValues) {
44134413
createDeprecatedDiagnostic("importsNotUsedAsValues", /*value*/ undefined, "verbatimModuleSyntax");

tests/baselines/reference/amdDeclarationEmitNoExtraDeclare.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/compiler/Class.ts (0 errors) ====
68
import { Configurable } from "./Configurable"
79

tests/baselines/reference/checkIndexConstraintOfJavascriptClassExpression.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23
tests/cases/compiler/weird.js(1,1): error TS2552: Cannot find name 'someFunction'. Did you mean 'Function'?
34
tests/cases/compiler/weird.js(1,23): error TS7006: Parameter 'BaseClass' implicitly has an 'any' type.
45
tests/cases/compiler/weird.js(9,17): error TS7006: Parameter 'error' implicitly has an 'any' type.
56

67

78
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
9+
!!! error TS5101: Use 'outFile' instead.
810
==== tests/cases/compiler/weird.js (3 errors) ====
911
someFunction(function(BaseClass) {
1012
~~~~~~~~~~~~

tests/baselines/reference/checkJsdocReturnTag1.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/conformance/jsdoc/returns.js (0 errors) ====
68
// @ts-check
79
/**

tests/baselines/reference/checkJsdocReturnTag2.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23
tests/cases/conformance/jsdoc/returns.js(6,5): error TS2322: Type 'number' is not assignable to type 'string'.
34
tests/cases/conformance/jsdoc/returns.js(13,5): error TS2322: Type 'number | boolean' is not assignable to type 'string | number'.
45
Type 'boolean' is not assignable to type 'string | number'.
56

67

78
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
9+
!!! error TS5101: Use 'outFile' instead.
810
==== tests/cases/conformance/jsdoc/returns.js (2 errors) ====
911
// @ts-check
1012
/**

tests/baselines/reference/compilerOptionsOutAndNoEmit.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/compiler/a.ts (0 errors) ====
68
class c {
79
}

tests/baselines/reference/computedPropertyNames52(target=es2015).errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/conformance/es6/computedProperties/computedPropertyNames52.js (0 errors) ====
68
const array = [];
79
for (let i = 0; i < 10; ++i) {

tests/baselines/reference/computedPropertyNames52(target=es5).errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/conformance/es6/computedProperties/computedPropertyNames52.js (0 errors) ====
68
const array = [];
79
for (let i = 0; i < 10; ++i) {

tests/baselines/reference/constDeclarations-useBeforeDefinition2.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23
tests/cases/compiler/file1.ts(1,1): error TS2448: Block-scoped variable 'c' used before its declaration.
34

45

56
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
7+
!!! error TS5101: Use 'outFile' instead.
68
==== tests/cases/compiler/file1.ts (1 errors) ====
79
c;
810
~

tests/baselines/reference/controlFlowJavascript.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/compiler/controlFlowJavascript.js (0 errors) ====
68
let cond = true;
79

tests/baselines/reference/declFileWithErrorsInInputDeclarationFileWithOut.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23
tests/cases/compiler/declFile.d.ts(2,5): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
34
tests/cases/compiler/declFile.d.ts(3,5): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
45
tests/cases/compiler/declFile.d.ts(5,5): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
56
tests/cases/compiler/declFile.d.ts(7,5): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
67

78

89
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
10+
!!! error TS5101: Use 'outFile' instead.
911
==== tests/cases/compiler/client.ts (0 errors) ====
1012
///<reference path="declFile.d.ts"/>
1113
var x = new M.C(); // Declaration file wont get emitted because there are errors in declaration file

tests/baselines/reference/declarationFileOverwriteErrorWithOut.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
error TS5055: Cannot write file 'tests/cases/compiler/out.d.ts' because it would overwrite input file.
22
Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
33
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
4+
Use 'outFile' instead.
45

56

67
!!! error TS5055: Cannot write file 'tests/cases/compiler/out.d.ts' because it would overwrite input file.
78
!!! error TS5055: Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
89
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
10+
!!! error TS5101: Use 'outFile' instead.
911
==== tests/cases/compiler/out.d.ts (0 errors) ====
1012
declare class c {
1113
}

tests/baselines/reference/deprecatedCompilerOptions1.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/foo/tsconfig.json(8,9): error TS5101: Option 'noStrictGenericChecks' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
77
/foo/tsconfig.json(9,9): error TS5101: Option 'charset' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
88
/foo/tsconfig.json(10,9): error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
9+
Use 'outFile' instead.
910

1011

1112
==== /foo/tsconfig.json (8 errors) ====
@@ -35,6 +36,7 @@
3536
"out": "dist.js"
3637
~~~~~
3738
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
39+
!!! error TS5101: Use 'outFile' instead.
3840
}
3941
}
4042

tests/baselines/reference/deprecatedCompilerOptions3.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/foo/tsconfig.json(8,9): error TS5102: Option 'noStrictGenericChecks' has been removed. Please remove it from your configuration.
77
/foo/tsconfig.json(9,9): error TS5102: Option 'charset' has been removed. Please remove it from your configuration.
88
/foo/tsconfig.json(10,9): error TS5102: Option 'out' has been removed. Please remove it from your configuration.
9+
Use 'outFile' instead.
910

1011

1112
==== /foo/tsconfig.json (8 errors) ====
@@ -35,6 +36,7 @@
3536
"out": "dist.js",
3637
~~~~~
3738
!!! error TS5102: Option 'out' has been removed. Please remove it from your configuration.
39+
!!! error TS5102: Use 'outFile' instead.
3840
}
3941
}
4042

tests/baselines/reference/deprecatedCompilerOptions4.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/foo/tsconfig.json(8,9): error TS5102: Option 'noStrictGenericChecks' has been removed. Please remove it from your configuration.
77
/foo/tsconfig.json(9,9): error TS5102: Option 'charset' has been removed. Please remove it from your configuration.
88
/foo/tsconfig.json(10,9): error TS5102: Option 'out' has been removed. Please remove it from your configuration.
9+
Use 'outFile' instead.
910

1011

1112
==== /foo/tsconfig.json (8 errors) ====
@@ -35,6 +36,7 @@
3536
"out": "dist.js",
3637
~~~~~
3738
!!! error TS5102: Option 'out' has been removed. Please remove it from your configuration.
39+
!!! error TS5102: Use 'outFile' instead.
3840
"ignoreDeprecations": "5.0"
3941
}
4042
}

tests/baselines/reference/deprecatedCompilerOptions5.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/foo/tsconfig.json(8,9): error TS5102: Option 'noStrictGenericChecks' has been removed. Please remove it from your configuration.
77
/foo/tsconfig.json(9,9): error TS5102: Option 'charset' has been removed. Please remove it from your configuration.
88
/foo/tsconfig.json(10,9): error TS5102: Option 'out' has been removed. Please remove it from your configuration.
9+
Use 'outFile' instead.
910

1011

1112
==== /foo/tsconfig.json (8 errors) ====
@@ -35,6 +36,7 @@
3536
"out": "dist.js",
3637
~~~~~
3738
!!! error TS5102: Option 'out' has been removed. Please remove it from your configuration.
39+
!!! error TS5102: Use 'outFile' instead.
3840
"ignoreDeprecations": "5.0"
3941
}
4042
}

tests/baselines/reference/deprecatedCompilerOptions6.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/foo/tsconfig.json(9,9): error TS5101: Option 'noStrictGenericChecks' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
77
/foo/tsconfig.json(10,9): error TS5101: Option 'charset' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
88
/foo/tsconfig.json(11,9): error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
9+
Use 'outFile' instead.
910
/foo/tsconfig.json(12,31): error TS5103: Invalid value for '--ignoreDeprecations'.
1011

1112

@@ -37,6 +38,7 @@
3738
"out": "dist.js",
3839
~~~~~
3940
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
41+
!!! error TS5101: Use 'outFile' instead.
4042
"ignoreDeprecations": "5.1"
4143
~~~~~
4244
!!! error TS5103: Invalid value for '--ignoreDeprecations'.

tests/baselines/reference/dynamicRequire.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/compiler/a.js (0 errors) ====
68
function foo(name) {
79
var s = require("t/" + name)

tests/baselines/reference/filesEmittingIntoSameOutputWithOutOption.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/compiler/a.ts (0 errors) ====
68
export class c {
79
}

tests/baselines/reference/genericSetterInClassTypeJsDoc.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/conformance/classes/members/classTypes/genericSetterInClassTypeJsDoc.js (0 errors) ====
68
/**
79
* @template T

tests/baselines/reference/globalThisVarDeclaration.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23
tests/cases/conformance/es2019/actual.ts(12,5): error TS2339: Property 'a' does not exist on type 'Window'.
34
tests/cases/conformance/es2019/actual.ts(13,5): error TS2339: Property 'b' does not exist on type 'Window'.
45
tests/cases/conformance/es2019/b.js(12,5): error TS2339: Property 'a' does not exist on type 'Window'.
56
tests/cases/conformance/es2019/b.js(13,5): error TS2339: Property 'b' does not exist on type 'Window'.
67

78

89
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
10+
!!! error TS5101: Use 'outFile' instead.
911
==== tests/cases/conformance/es2019/b.js (2 errors) ====
1012
var a = 10;
1113
this.a;

tests/baselines/reference/incrementalOut.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23

34

45
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5101: Use 'outFile' instead.
57
==== tests/cases/compiler/incrementalOut.ts (0 errors) ====
68
const x = 10;
79

tests/baselines/reference/inferringClassMembersFromAssignments.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23
tests/cases/conformance/salsa/a.js(14,13): error TS7008: Member 'inMethodNullable' implicitly has an 'any' type.
34
tests/cases/conformance/salsa/a.js(20,9): error TS2322: Type 'string' is not assignable to type 'number'.
45
tests/cases/conformance/salsa/a.js(39,9): error TS2322: Type 'boolean' is not assignable to type 'number'.
56

67

78
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
9+
!!! error TS5101: Use 'outFile' instead.
810
==== tests/cases/conformance/salsa/a.js (3 errors) ====
911
class C {
1012
constructor() {

tests/baselines/reference/inlineSourceMap2.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'.
22
error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'.
33
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
4+
Use 'outFile' instead.
45
error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
56

67

78
!!! error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'.
89
!!! error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'.
910
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
11+
!!! error TS5101: Use 'outFile' instead.
1012
!!! error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
1113
==== tests/cases/compiler/inlineSourceMap2.ts (0 errors) ====
1214
// configuration errors

tests/baselines/reference/inlineSources.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23
error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
34

45

56
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
7+
!!! error TS5101: Use 'outFile' instead.
68
!!! error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
79
==== tests/cases/compiler/a.ts (0 errors) ====
810
var a = 0;

tests/baselines/reference/inlineSources2.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
Use 'outFile' instead.
23
error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
34

45

56
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
7+
!!! error TS5101: Use 'outFile' instead.
68
!!! error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
79
==== tests/cases/compiler/a.ts (0 errors) ====
810
var a = 0;

tests/baselines/reference/isolatedModulesOut.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
error TS5053: Option 'out' cannot be specified with option 'isolatedModules'.
22
error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
3+
Use 'outFile' instead.
34
tests/cases/compiler/file1.ts(1,1): error TS6131: Cannot compile modules using option 'out' unless the '--module' flag is 'amd' or 'system'.
45

56

67
!!! error TS5053: Option 'out' cannot be specified with option 'isolatedModules'.
78
!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
9+
!!! error TS5101: Use 'outFile' instead.
810
==== tests/cases/compiler/file1.ts (1 errors) ====
911
export var x;
1012
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)