Merge pull request #3672 from olsio/master

Added escape-latex definition
This commit is contained in:
Masahiro Wakame
2015-02-21 01:25:56 +09:00
2 changed files with 14 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
/// <reference path="escape-latex.d.ts" />
import lescape = require('escape-latex');
lescape("String to be escaped here #yolo");
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for escape-latex 0.1.2
// Project: https://github.com/dangmai/escape-latex
// Definitions by: Oliver Schneider <https://github.com/olsio>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module 'escape-latex' {
function lescape(texString: string): string;
export = lescape;
}