mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Type definitions and testsfor to-title-case-gouch
This commit is contained in:
1 parent
e34f20e4f1
commit
7536f06587
2 files changed
+1
-1
No files matched your search
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
import fs = require('fs');
|
||||
|
||||
fs.readFile('to-title-case.min.js', 'utf-8', function(err: any, code: string) {
|
||||
fs.readFile('to-title-case.js', 'utf-8', function(err: any, code: string) {
|
||||
eval(code);
|
||||
var lowerCase: string = 'this title is in lowercase and will be title case';
|
||||
console.log(lowerCase.toTitleCase()); // Now in title case.
|
||||
File renamed without changes.
Reference in new issue
Block a user