// @target: esnext // @module: amd // @noLib: true // @declaration: true // @outFile: bundle.js // Test that passing noLib disables resolution. // @filename: fakelib.ts interface Object { } interface Array { } interface String { } interface Boolean { } interface Number { } interface Function { } interface RegExp { } interface IArguments { } // @filename: file1.ts /// export declare interface HTMLElement { field: string; } export const elem: HTMLElement = { field: 'a' };