odin-js-fundamentals-part-5/node_modules/dedent/dist/dedent.d.mts

18 lines
522 B
TypeScript
Raw Normal View History

2024-01-11 08:52:05 +00:00
interface DedentOptions {
escapeSpecialCharacters?: boolean;
}
interface Dedent {
(literals: string): string;
(strings: TemplateStringsArray, ...values: unknown[]): string;
withOptions: CreateDedent;
}
type CreateDedent = (options: DedentOptions) => Dedent;
declare const _default: {
(literals: string): string;
(strings: TemplateStringsArray, ...values: unknown[]): string;
withOptions(newOptions: DedentOptions): any;
};
export { CreateDedent, Dedent, DedentOptions, _default as default };