Merge pull request #5477 from stpettersens/master

Type definitions and tests for upper-case-first
This commit is contained in:
Masahiro Wakame committed 2015-08-22 00:48:50 +09:00
commit e659912f81
2 files changed
+15

No files matched your search

@@ -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;
}