Skip to content

Commit 7a25525

Browse files
committed
Mention outFile
1 parent eabc012 commit 7a25525

252 files changed

Lines changed: 504 additions & 1 deletion

File tree

Some content is hidden

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

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

0 commit comments

Comments
 (0)