Merge pull request #5142 from stpettersens/master

Type definitions and tests for lower-case-first
This commit is contained in:
Horiuchi_H
2015-07-31 23:32:41 +09:00
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,7 @@
/// <reference path="lower-case-first.d.ts" />
import lowerCaseFirst = require('lower-case-first');
console.log(lowerCaseFirst(null)); // => ""
console.log(lowerCaseFirst('STRING')); // => "sTRING"
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for lower-case-first
// Project: https://github.com/blakeembrey/lower-case-first
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "lower-case-first" {
function lowerCaseFirst(string: string, locale?: string): string;
export = lowerCaseFirst;
}