DefinitelyTyped/types/indefinite/index.d.ts
Chris Wilkinson f380829c5c [indefinite] Fix export and add new option (#40238)
* Fix indefinite export and add new option

* Update version

* CS fix

* Fix link

* Change exports
2019-11-15 15:17:56 -08:00

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;