Skip to content

Request: Compiler option to specify an alternate lib.d.ts #494

Closed
@sedwards2009

Description

@sedwards2009

The compiler has an option noLib which disables the default inclusion of lib.d.ts during compilation. Unfortunately there is no compiler option to specify a .d.ts file or files to automatically include before compiling each .ts file. Such an option would make it much easier to use an alternate lib.d.ts.

The work around now is to use the noLib option and then to add a line to each source file to manually pull in your alternate lib.d.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already createdSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions