mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
Type definitions and tests for upper-case
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/// <reference path="upper-case.d.ts" />
|
||||
|
||||
import upperCase = require('upper-case');
|
||||
|
||||
console.log(upperCase(null)); // => ""
|
||||
console.log(upperCase('string')); // => "STRING"
|
||||
console.log(upperCase('string', 'tr')); // => "STRİNG"
|
||||
|
||||
console.log(upperCase({ toString: function() { return 'test' } })); // => "TEST"
|
||||
Reference in New Issue
Block a user