@pakk/core
Version:
The core library of pakk, that can manage your package.json for library development.
9 lines • 379 B
TypeScript
/**
* Removes extensions from filenames. Which is usually whatever `extname`
* returns (everything after the last `.`) but in the case of `.d.ts` files,
* it will strip `.d.ts` by default, unless turned off.
*/
export declare const stripFileExtension: (name: string, options?: {
stripDts: boolean;
}) => string;
//# sourceMappingURL=strip-file-extension.function.d.ts.map