mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Update upper-case-tests.ts
This commit is contained in:
@@ -4,6 +4,5 @@ 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