Home > @microsoft/api-extractor > ExtractorConfig > hasDtsFileExtension
ExtractorConfig.hasDtsFileExtension() method
Returns true if the specified file path has the ".d.ts" file extension.
Signature:
static hasDtsFileExtension(filePath: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
filePath | string |
Returns:
boolean