DefinitelyTyped/types/indefinite/index.d.ts
2019-02-21 10:45:15 +02:00

12 lines
410 B
TypeScript

// Type definitions for indefinite 2.2
// Project: https://github.com/tandrewnichols/indefinite
// Definitions by: omaishar <https://github.com/omaishr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface Options {
capitalize?: boolean;
caseInsensitive?: boolean;
numbers?: "colloquial";
}
export function indefinite(word: string | number, opts?: Options): string;