mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
410 B
TypeScript
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;
|