@types/katex
Advanced tools
Comparing version 0.16.0 to 0.16.1
@@ -143,3 +143,3 @@ // Type definitions for KaTeX 0.16 | ||
export default class katex { | ||
declare const katex: { | ||
/** | ||
@@ -151,3 +151,3 @@ * Renders a TeX expression into the specified DOM element | ||
*/ | ||
static render(tex: string, element: HTMLElement, options?: KatexOptions): void; | ||
render: (tex: string, element: HTMLElement, options?: KatexOptions) => void, | ||
@@ -159,3 +159,3 @@ /** | ||
*/ | ||
static renderToString(tex: string, options?: KatexOptions): string; | ||
renderToString: (tex: string, options?: KatexOptions) => string, | ||
@@ -165,3 +165,5 @@ /** | ||
*/ | ||
static ParseError: typeof ParseError; | ||
ParseError: typeof ParseError, | ||
} | ||
export default katex; |
{ | ||
"name": "@types/katex", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"description": "TypeScript definitions for KaTeX", | ||
@@ -48,4 +48,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/katex", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "761ad95697089a787d7b10366e497a9466fbf0106652f407007e47f96cd317c4", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "bc854e1fa6769ab535db715bce27480875f49100724c9a537abe2aa2d8f93801", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 24 Dec 2022 11:32:36 GMT | ||
* Last updated: Wed, 12 Jul 2023 15:02:41 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11154
232