Skip to content

Commit 2a8d296

Browse files
committed
typescript friendly
1 parent 2f8b89d commit 2a8d296

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declare function convert(input: string): string;
2+
3+
export = convert;

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "crosstex",
33
"version": "1.0.0",
4+
"types": "index.d.ts",
45
"description": "A robust JavaScript utility that converts LaTeX mathematical expressions into Math.js compatible syntax. This converter handles a wide range of mathematical notation including fractions, roots, trigonometric functions, logarithms, and complex nested expressions.",
56
"main": "LatexToMathJs.js",
67
"scripts": {
@@ -17,4 +18,4 @@
1718
"url": "https://github.com/SENODROOM/LaTeX-To-MathJs/issues"
1819
},
1920
"homepage": "https://github.com/SENODROOM/LaTeX-To-MathJs#readme"
20-
}
21+
}

0 commit comments

Comments
 (0)