mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Updated baselines.
This commit is contained in:
parent
5f01c09b7e
commit
75920657b9
@ -1,11 +1,12 @@
|
||||
error TS2318: Cannot find global type 'Boolean'.
|
||||
error TS2318: Cannot find global type 'IArguments'.
|
||||
tests/cases/compiler/noDefaultLib.ts(3,11): error TS2317: Global type 'Array' must have 1 type parameter(s).
|
||||
tests/cases/compiler/noDefaultLib.ts(4,11): error TS2317: Global type 'Array' must have 1 type parameter(s).
|
||||
|
||||
|
||||
!!! error TS2318: Cannot find global type 'Boolean'.
|
||||
!!! error TS2318: Cannot find global type 'IArguments'.
|
||||
==== tests/cases/compiler/noDefaultLib.ts (1 errors) ====
|
||||
/// <reference no-default-lib="true"/>
|
||||
var x;
|
||||
|
||||
interface Array {}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
//// [noDefaultLib.ts]
|
||||
/// <reference no-default-lib="true"/>
|
||||
var x;
|
||||
|
||||
interface Array {}
|
||||
@ -10,4 +11,5 @@ interface Function {}
|
||||
interface RegExp {}
|
||||
|
||||
//// [noDefaultLib.js]
|
||||
/// <reference no-default-lib="true"/>
|
||||
var x;
|
||||
|
||||
@ -6,12 +6,12 @@ error TS2318: Cannot find global type 'Number'.
|
||||
error TS2318: Cannot find global type 'Object'.
|
||||
error TS2318: Cannot find global type 'RegExp'.
|
||||
error TS2318: Cannot find global type 'String'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(2,19): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(4,26): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(6,21): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(8,24): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(11,22): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(14,13): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(3,19): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(5,26): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(7,21): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(9,24): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(12,22): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
tests/cases/compiler/typeCheckTypeArgument.ts(15,13): error TS2304: Cannot find name 'UNKNOWN'.
|
||||
|
||||
|
||||
!!! error TS2318: Cannot find global type 'Array'.
|
||||
@ -23,6 +23,7 @@ tests/cases/compiler/typeCheckTypeArgument.ts(14,13): error TS2304: Cannot find
|
||||
!!! error TS2318: Cannot find global type 'RegExp'.
|
||||
!!! error TS2318: Cannot find global type 'String'.
|
||||
==== tests/cases/compiler/typeCheckTypeArgument.ts (6 errors) ====
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
var f: <T extends UNKNOWN>() => void;
|
||||
~~~~~~~
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
//// [typeCheckTypeArgument.ts]
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
var f: <T extends UNKNOWN>() => void;
|
||||
|
||||
@ -15,6 +16,7 @@ class Foo2 {
|
||||
(<T extends UNKNOWN>(a) => { });
|
||||
|
||||
//// [typeCheckTypeArgument.js]
|
||||
/// <reference no-default-lib="true"/>
|
||||
var f;
|
||||
var Foo = (function () {
|
||||
function Foo() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user