!!! Cannot find global type 'Array'. !!! Cannot find global type 'Boolean'. !!! Cannot find global type 'Function'. !!! Cannot find global type 'IArguments'. !!! Cannot find global type 'Number'. !!! Cannot find global type 'Object'. !!! Cannot find global type 'RegExp'. !!! Cannot find global type 'String'. ==== tests/cases/compiler/typeCheckTypeArgument.ts (6 errors) ==== /// var f: () => void; ~~~~~~~ !!! Cannot find name 'UNKNOWN'. interface IFoo { } ~~~~~~~ !!! Cannot find name 'UNKNOWN'. class Foo { } ~~~~~~~ !!! Cannot find name 'UNKNOWN'. function bar() { } ~~~~~~~ !!! Cannot find name 'UNKNOWN'. class Foo2 { method() { } ~~~~~~~ !!! Cannot find name 'UNKNOWN'. } ((a) => { }); ~~~~~~~ !!! Cannot find name 'UNKNOWN'.