mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-06 12:57:44 +00:00
chore: fix tsc
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { Root, Element } from "hast";
|
import { Root, Element } from "hast";
|
||||||
|
import { VFile } from "vfile";
|
||||||
import { Plugin } from "unified";
|
import { Plugin } from "unified";
|
||||||
|
|
||||||
import { visit } from "unist-util-visit";
|
import { visit } from "unist-util-visit";
|
||||||
@@ -14,7 +15,7 @@ import probe from "probe-image-size";
|
|||||||
import { IFramePlaceholder } from "./iframe-placeholder";
|
import { IFramePlaceholder } from "./iframe-placeholder";
|
||||||
|
|
||||||
interface RehypeUnicornIFrameClickToRunProps {
|
interface RehypeUnicornIFrameClickToRunProps {
|
||||||
srcReplacements?: Array<(val: string, root: Root) => string>;
|
srcReplacements?: Array<(val: string, root: VFile) => string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// default icon, used if a frame's favicon cannot be resolved
|
// default icon, used if a frame's favicon cannot be resolved
|
||||||
|
|||||||
@@ -28,5 +28,6 @@
|
|||||||
"uu-utils": ["./src/utils"],
|
"uu-utils": ["./src/utils"],
|
||||||
"assets/*": ["./src/assets/*"]
|
"assets/*": ["./src/assets/*"]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"exclude": ["./content/blog"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user