2014-09-12 22:35:07 +02:00
|
|
|
error TS2318: Cannot find global type 'Boolean'.
|
|
|
|
error TS2318: Cannot find global type 'IArguments'.
|
|
|
|
tests/cases/compiler/noDefaultLib.ts(4,11): error TS2317: Global type 'Array' must have 1 type parameter(s).
|
|
|
|
|
|
|
|
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2318: Cannot find global type 'Boolean'.
|
|
|
|
!!! error TS2318: Cannot find global type 'IArguments'.
|
2014-08-26 22:03:24 +02:00
|
|
|
==== tests/cases/compiler/noDefaultLib.ts (1 errors) ====
|
|
|
|
/// <reference no-default-lib="true"/>
|
|
|
|
var x;
|
|
|
|
|
|
|
|
interface Array {}
|
|
|
|
~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2317: Global type 'Array' must have 1 type parameter(s).
|
2014-08-26 22:03:24 +02:00
|
|
|
interface String {}
|
|
|
|
interface Number {}
|
|
|
|
interface Object {}
|
|
|
|
interface Date {}
|
|
|
|
interface Function {}
|
|
|
|
interface RegExp {}
|