mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 02:42:27 +08:00
katex.d.ts: Genericize TrustContext for now
src/katex.d.ts:145:36 - error TS2304: Cannot find name 'TrustContext'. 145 trust?: boolean | ( ( context: TrustContext ) => boolean ) | undefined;
This commit is contained in:
parent
c03f2cff94
commit
41edf6e7fc
2
src/katex.d.ts
vendored
2
src/katex.d.ts
vendored
@ -142,7 +142,7 @@ export interface KatexOptions {
|
|||||||
*
|
*
|
||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
trust?: boolean | ( ( context: TrustContext ) => boolean ) | undefined;
|
trust?: boolean | ( ( context: object ) => boolean ) | undefined;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Place KaTeX code in the global group.
|
* Place KaTeX code in the global group.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user