Home > @rushstack/typings-generator > StringValuesTypingsGenerator
StringValuesTypingsGenerator class
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.
Signature:
export declare class StringValuesTypingsGenerator extends TypingsGenerator
Extends: TypingsGenerator
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(options) | Constructs a new instance of the StringValuesTypingsGenerator class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
_options | protected | ITypingsGeneratorOptions | (Inherited from TypingsGenerator) |
Methods
Method | Modifiers | Description |
---|---|---|
generateTypingsAsync() | (Inherited from TypingsGenerator) | |
getOutputFilePaths(relativePath) | (Inherited from TypingsGenerator) | |
registerDependency(consumer, rawDependency) | Register file dependencies that may effect the typings of a consumer file. Note: This feature is only useful in watch mode. The registerDependency method must be called in the body of parseAndGenerateTypings every time because the registry for a file is cleared at the beginning of processing. (Inherited from TypingsGenerator) | |
runWatcherAsync() | (Inherited from TypingsGenerator) |