mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* Fix indefinite export and add new option * Update version * CS fix * Fix link * Change exports
16 lines
455 B
TypeScript
16 lines
455 B
TypeScript
// Type definitions for indefinite 2.3
|
|
// Project: https://github.com/tandrewnichols/indefinite
|
|
// Definitions by: omaishar <https://github.com/omaishar>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface Options {
|
|
articleOnly?: boolean;
|
|
capitalize?: boolean;
|
|
caseInsensitive?: boolean;
|
|
numbers?: 'colloquial';
|
|
}
|
|
|
|
declare function indefinite(word: string | number, opts?: Options): string;
|
|
|
|
export = indefinite;
|