diff --git a/escape-latex/escape-latex-tests.ts b/escape-latex/escape-latex-tests.ts new file mode 100644 index 0000000000..7a5b74dfe5 --- /dev/null +++ b/escape-latex/escape-latex-tests.ts @@ -0,0 +1,5 @@ +/// + +import lescape = require('escape-latex'); + +lescape("String to be escaped here #yolo"); \ No newline at end of file diff --git a/escape-latex/escape-latex.d.ts b/escape-latex/escape-latex.d.ts new file mode 100644 index 0000000000..fd6f90b45a --- /dev/null +++ b/escape-latex/escape-latex.d.ts @@ -0,0 +1,9 @@ +// Type definitions for escape-latex 0.1.2 +// Project: https://github.com/dangmai/escape-latex +// Definitions by: Oliver Schneider +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +declare module 'escape-latex' { + function lescape(texString: string): string; + export = lescape; +} \ No newline at end of file