Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3e0d26f

Browse files
Copilotjakebailey
andcommitted
Update baselines after implementing NodeFlagsReparsed check
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
1 parent466a9f8 commit3e0d26f

File tree

745 files changed

+1462
-16127
lines changed

Some content is hidden

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

745 files changed

+1462
-16127
lines changed

‎testdata/baselines/reference/conformance/jsdocDestructuringParameterDeclaration.errors.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,24 @@
1-
/a.js(6,12): error TS8010: Type annotations can only be used in TypeScript files.
21
/a.js(7,7): error TS2322: Type 'number' is not assignable to type 'T'.
3-
/a.js(9,12): error TS8010: Type annotations can only be used in TypeScript files.
4-
/a.js(15,12): error TS8010: Type annotations can only be used in TypeScript files.
52

63

7-
==== /a.js (4 errors) ====
4+
==== /a.js (1 errors) ====
85
/**
96
* @typedef {object} T
107
* @property {boolean} await
118
*/
129

1310
/** @type {T} */
14-
~
15-
!!! error TS8010: Type annotations can only be used in TypeScript files.
1611
const a = 1;
1712
~
1813
!!! error TS2322: Type 'number' is not assignable to type 'T'.
1914

2015
/** @type {T} */
21-
~
22-
!!! error TS8010: Type annotations can only be used in TypeScript files.
2316
const b = {
2417
await: false,
2518
};
2619

2720
/**
2821
* @param {boolean} await
29-
~~~~~~~
30-
!!! error TS8010: Type annotations can only be used in TypeScript files.
3122
*/
3223
function c(await) {}
3324

‎testdata/baselines/reference/conformance/typeTagForMultipleVariableDeclarations.errors.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎testdata/baselines/reference/submodule/compiler/amdLikeInputDeclarationEmit.errors.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
ExtendedClass.js(4,13): error TS8010: Type annotations can only be used in TypeScript files.
21
ExtendedClass.js(17,5): error TS1231: An export assignment must be at the top level of a file or module declaration.
32
ExtendedClass.js(17,12): error TS2339: Property 'exports' does not exist on type '{}'.
43
ExtendedClass.js(18,19): error TS2339: Property 'exports' does not exist on type '{}'.
@@ -13,13 +12,11 @@ ExtendedClass.js(18,19): error TS2339: Property 'exports' does not exist on type
1312
}
1413
export = BaseClass;
1514
}
16-
==== ExtendedClass.js (4 errors) ====
15+
==== ExtendedClass.js (3 errors) ====
1716
define("lib/ExtendedClass", ["deps/BaseClass"],
1817
/**
1918
* {typeof import("deps/BaseClass")}
2019
* @param {typeof import("deps/BaseClass")} BaseClass
21-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22-
!!! error TS8010: Type annotations can only be used in TypeScript files.
2320
* @returns
2421
*/
2522
(BaseClass) => {

‎testdata/baselines/reference/submodule/compiler/argumentsObjectCreatesRestForJs.errors.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
main.js(3,9): error TS2554: Expected 0 arguments, but got 3.
22
main.js(5,1): error TS2554: Expected 2 arguments, but got 0.
33
main.js(6,16): error TS2554: Expected 2 arguments, but got 3.
4-
main.js(9,12): error TS8010: Type annotations can only be used in TypeScript files.
54

65

7-
==== main.js (4 errors) ====
6+
==== main.js (3 errors) ====
87
function allRest() { arguments; }
98
allRest();
109
allRest(1, 2, 3);
@@ -21,8 +20,6 @@ main.js(9,12): error TS8010: Type annotations can only be used in TypeScript fil
2120

2221
/**
2322
* @param {number} x - a thing
24-
~~~~~~
25-
!!! error TS8010: Type annotations can only be used in TypeScript files.
2623
*/
2724
function jsdocced(x) { arguments; }
2825
jsdocced(1);

‎testdata/baselines/reference/submodule/compiler/argumentsReferenceInConstructor1_Js.errors.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎testdata/baselines/reference/submodule/compiler/argumentsReferenceInConstructor2_Js.errors.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎testdata/baselines/reference/submodule/compiler/argumentsReferenceInConstructor3_Js.errors.txt

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎testdata/baselines/reference/submodule/compiler/argumentsReferenceInConstructor4_Js.errors.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
/a.js(5,13): error TS8010: Type annotations can only be used in TypeScript files.
2-
/a.js(16,12): error TS8010: Type annotations can only be used in TypeScript files.
31
/a.js(18,9): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.
42

53

6-
==== /a.js (3 errors) ====
4+
==== /a.js (1 errors) ====
75
class A {
86
/**
97
* Constructor
108
*
119
* @param {object} [foo={}]
12-
~~~~~~
13-
!!! error TS8010: Type annotations can only be used in TypeScript files.
1410
*/
1511
constructor(foo = {}) {
1612
const key = "bar";
@@ -22,8 +18,6 @@
2218

2319
/**
2420
* @type object
25-
~~~~~~
26-
!!! error TS8010: Type annotations can only be used in TypeScript files.
2721
*/
2822
const arguments = this.arguments;
2923
~~~~~~~~~

‎testdata/baselines/reference/submodule/compiler/argumentsReferenceInConstructor5_Js.errors.txt

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp