mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Type definitions and tests for upper-case-first
This commit is contained in:
parent
712b906803
commit
46f889f666
6
upper-case-first/upper-case-first-tests.ts
Normal file
6
upper-case-first/upper-case-first-tests.ts
Normal file
@ -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"
|
||||
Loading…
Reference in New Issue
Block a user