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:
Tony Narlock 2024-03-16 06:05:29 -05:00
parent c03f2cff94
commit 41edf6e7fc

2
src/katex.d.ts vendored
View File

@ -142,7 +142,7 @@ export interface KatexOptions {
*
* @default false
*/
trust?: boolean | ( ( context: TrustContext ) => boolean ) | undefined;
trust?: boolean | ( ( context: object ) => boolean ) | undefined;
/**
* Place KaTeX code in the global group.