Skip to content

Commit fb192e2

Browse files
Accepted baselines.
1 parent cece441 commit fb192e2

File tree

2 files changed

+6
-25
lines changed

2 files changed

+6
-25
lines changed

tests/baselines/reference/typeCheckTypeArgument.errors.txt

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,12 @@
1-
error TS2318: Cannot find global type 'Array'.
2-
error TS2318: Cannot find global type 'Boolean'.
3-
error TS2318: Cannot find global type 'Function'.
4-
error TS2318: Cannot find global type 'IArguments'.
5-
error TS2318: Cannot find global type 'Number'.
6-
error TS2318: Cannot find global type 'Object'.
7-
error TS2318: Cannot find global type 'RegExp'.
8-
error TS2318: Cannot find global type 'String'.
9-
tests/cases/compiler/typeCheckTypeArgument.ts(3,19): error TS2304: Cannot find name 'UNKNOWN'.
10-
tests/cases/compiler/typeCheckTypeArgument.ts(5,26): error TS2304: Cannot find name 'UNKNOWN'.
11-
tests/cases/compiler/typeCheckTypeArgument.ts(7,21): error TS2304: Cannot find name 'UNKNOWN'.
12-
tests/cases/compiler/typeCheckTypeArgument.ts(9,24): error TS2304: Cannot find name 'UNKNOWN'.
13-
tests/cases/compiler/typeCheckTypeArgument.ts(12,22): error TS2304: Cannot find name 'UNKNOWN'.
14-
tests/cases/compiler/typeCheckTypeArgument.ts(15,13): error TS2304: Cannot find name 'UNKNOWN'.
1+
tests/cases/compiler/typeCheckTypeArgument.ts(2,19): error TS2304: Cannot find name 'UNKNOWN'.
2+
tests/cases/compiler/typeCheckTypeArgument.ts(4,26): error TS2304: Cannot find name 'UNKNOWN'.
3+
tests/cases/compiler/typeCheckTypeArgument.ts(6,21): error TS2304: Cannot find name 'UNKNOWN'.
4+
tests/cases/compiler/typeCheckTypeArgument.ts(8,24): error TS2304: Cannot find name 'UNKNOWN'.
5+
tests/cases/compiler/typeCheckTypeArgument.ts(11,22): error TS2304: Cannot find name 'UNKNOWN'.
6+
tests/cases/compiler/typeCheckTypeArgument.ts(14,13): error TS2304: Cannot find name 'UNKNOWN'.
157

168

17-
!!! error TS2318: Cannot find global type 'Array'.
18-
!!! error TS2318: Cannot find global type 'Boolean'.
19-
!!! error TS2318: Cannot find global type 'Function'.
20-
!!! error TS2318: Cannot find global type 'IArguments'.
21-
!!! error TS2318: Cannot find global type 'Number'.
22-
!!! error TS2318: Cannot find global type 'Object'.
23-
!!! error TS2318: Cannot find global type 'RegExp'.
24-
!!! error TS2318: Cannot find global type 'String'.
259
==== tests/cases/compiler/typeCheckTypeArgument.ts (6 errors) ====
26-
/// <reference no-default-lib="true"/>
2710

2811
var f: <T extends UNKNOWN>() => void;
2912
~~~~~~~

tests/baselines/reference/typeCheckTypeArgument.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//// [typeCheckTypeArgument.ts]
2-
/// <reference no-default-lib="true"/>
32

43
var f: <T extends UNKNOWN>() => void;
54

@@ -16,7 +15,6 @@ class Foo2 {
1615
(<T extends UNKNOWN>(a) => { });
1716

1817
//// [typeCheckTypeArgument.js]
19-
/// <reference no-default-lib="true"/>
2018
var f;
2119
var Foo = (function () {
2220
function Foo() {

0 commit comments

Comments
 (0)