Added escape-latex definition

This commit is contained in:
olsio
2015-02-17 20:42:38 +01:00
parent 49b821f06b
commit dc8e3783b4
2 changed files with 14 additions and 0 deletions

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
escape-latex/escape-latex.d.ts vendored Normal file
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;
}