How do I allow the following component to be called with is:raw. Currently, Typescript is complaining that error ts(2322): Type '{ children: string; "is:raw": true; }' is not assignable to type 'IntrinsicAttributes & Props'.
Type '{ children: string; "is:raw": true; }' is missing the following properties from type 'Props': t, o
import katex, { KaTeXOptions } from "katex";
export interface Props {
t: string,
o: KaTeXOptions,
};
const slotcontent = await Astro.slots.render('default');
const { t = slotcontent, o = {} } = Astro.props as Props;
o.displayMode = false;
o.fleqn = true;
const html: string = katex.renderToString(t, o);
<span set:html={html}/>