tex2typst 0.3.6 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generic.d.ts +1 -0
- package/dist/index.js +899 -765
- package/dist/tex-parser.d.ts +1 -0
- package/dist/tex2typst.min.js +13 -13
- package/dist/types.d.ts +6 -2
- package/dist/typst-parser.d.ts +2 -1
- package/package.json +1 -1
- package/src/convert.ts +27 -9
- package/src/generic.ts +13 -0
- package/src/map.ts +729 -747
- package/src/tex-parser.ts +81 -6
- package/src/types.ts +6 -2
- package/src/typst-parser.ts +65 -15
- package/src/typst-writer.ts +0 -2
- package/tools/make-symbol-map.py +7 -2
package/dist/generic.d.ts
CHANGED
|
@@ -4,4 +4,5 @@ interface IEquatable {
|
|
|
4
4
|
export declare function array_find<T extends IEquatable>(array: T[], item: T, start?: number): number;
|
|
5
5
|
export declare function array_includes<T extends IEquatable>(array: T[], item: T): boolean;
|
|
6
6
|
export declare function array_split<T extends IEquatable>(array: T[], sep: T): T[][];
|
|
7
|
+
export declare function array_join<T>(array: T[], sep: T): T[];
|
|
7
8
|
export {};
|