TypeScript/tests/baselines/reference/noDefaultLib.errors.txt
2015-04-23 11:04:44 -07:00

20 lines
712 B
Plaintext

error TS2318: Cannot find global type 'IArguments'.
error TS2318: Cannot find global type 'Boolean'.
tests/cases/compiler/noDefaultLib.ts(4,11): error TS2317: Global type 'Array' must have 1 type parameter(s).
!!! error TS2318: Cannot find global type 'IArguments'.
!!! error TS2318: Cannot find global type 'Boolean'.
==== tests/cases/compiler/noDefaultLib.ts (1 errors) ====
/// <reference no-default-lib="true"/>
var x;
interface Array {}
~~~~~
!!! error TS2317: Global type 'Array' must have 1 type parameter(s).
interface String {}
interface Number {}
interface Object {}
interface Date {}
interface Function {}
interface RegExp {}