mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
691 B
Plaintext
22 lines
691 B
Plaintext
error TS2318: Cannot find global type 'CallableFunction'.
|
|
error TS2318: Cannot find global type 'NewableFunction'.
|
|
|
|
|
|
!!! error TS2318: Cannot find global type 'CallableFunction'.
|
|
!!! error TS2318: Cannot find global type 'NewableFunction'.
|
|
==== fakelib.ts (0 errors) ====
|
|
interface Object { }
|
|
interface Array<T> { }
|
|
interface String { }
|
|
interface Boolean { }
|
|
interface Number { }
|
|
interface Function { }
|
|
interface RegExp { }
|
|
interface IArguments { }
|
|
|
|
|
|
==== file1.ts (0 errors) ====
|
|
/// <reference lib="dom" />
|
|
export declare interface HTMLElement { field: string; }
|
|
export const elem: HTMLElement = { field: 'a' };
|
|
|