|
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'. |
15 | 7 |
|
16 | 8 |
|
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'. |
25 | 9 | ==== tests/cases/compiler/typeCheckTypeArgument.ts (6 errors) ==== |
26 | | - /// <reference no-default-lib="true"/> |
27 | 10 |
|
28 | 11 | var f: <T extends UNKNOWN>() => void; |
29 | 12 | ~~~~~~~ |
|
0 commit comments