From 05a1465f2c15df0d6918c7e1dbdaee61815f7fb7 Mon Sep 17 00:00:00 2001 From: Sam Saint-Pettersen Date: Tue, 4 Aug 2015 17:03:37 +0100 Subject: [PATCH] Type definitions and tests for sentence-case --- sentence-case/sentence-case.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sentence-case/sentence-case.d.ts diff --git a/sentence-case/sentence-case.d.ts b/sentence-case/sentence-case.d.ts new file mode 100644 index 000000000..3f8639648 --- /dev/null +++ b/sentence-case/sentence-case.d.ts @@ -0,0 +1,9 @@ +// Type definitions for sentence-case +// Project: https://github.com/blakeembrey/sentence-case +// Definitions by: Sam Saint-Pettersen +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +declare module "sentence-case" { + function sentenceCase(string: string, locale?: string, repl?: string): string; + export = sentenceCase; +}