mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Added escape-latex definition
This commit is contained in:
5
escape-latex/escape-latex-tests.ts
Normal file
5
escape-latex/escape-latex-tests.ts
Normal 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
9
escape-latex/escape-latex.d.ts
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user