Merge pull request #5477 from stpettersens/master

Type definitions and tests for upper-case-first
This commit is contained in:
Masahiro Wakame
2015-08-22 00:48:50 +09:00
2 changed files with 15 additions and 0 deletions
@@ -0,0 +1,6 @@
/// <reference path="upper-case-first.d.ts" />
import upperCaseFirst = require('upper-case-first');
console.log(upperCaseFirst(null)); // => ""
console.log(upperCaseFirst('string')); // => "String"
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for upper-case-first
// Project: https://github.com/blakeembrey/upper-case-first
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "upper-case-first" {
function upperCaseFirst(string: string): string;
export = upperCaseFirst;
}