Type definitions and testsfor to-title-case-gouch

This commit is contained in:
Sam Saint-Pettersen
2015-07-19 14:42:18 +01:00
parent e34f20e4f1
commit 7536f06587
2 changed files with 1 additions and 1 deletions
@@ -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.