Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/typings-generator

typings-generator package

An engine for generating TypeScript .d.ts files that provide type signatures for non-TypeScript modules such as generated JavaScript or CSS. It can operate in either a single-run mode or a watch mode.

Classes

Class

Description

StringValuesTypingsGenerator

This is a simple tool that generates .d.ts files for non-TS files that can be represented as a simple set of named string exports.

TypingsGenerator

This is a simple tool that generates .d.ts files for non-TS files.

Interfaces

Interface

Description

IExportAsDefaultOptions

IStringValuesTypingsGeneratorBaseOptions

IStringValuesTypingsGeneratorOptions

IStringValuesTypingsGeneratorOptionsWithCustomReadFile

IStringValueTyping

IStringValueTypings

ITypingsGeneratorBaseOptions

ITypingsGeneratorOptions

ITypingsGeneratorOptionsWithCustomReadFile

Options for a TypingsGenerator that needs to customize how files are read.

ITypingsGeneratorOptionsWithoutReadFile

Type Aliases

Type Alias

Description

ReadFile