We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 162b92c commit e227debCopy full SHA for e227deb
src/build/patches.ts
@@ -363,7 +363,7 @@ async function getAllFileURLs(folder: URL): Promise<URL[]> {
363
/**
364
* Read and parse a single KDL file into its KDL Document structure.
365
*/
366
-async function readPatchDocument(fileUrl: URL): Promise<Node[]> {
+async function readPatchDocument(fileUrl: URL): Promise<Document> {
367
const text = await readFile(fileUrl, "utf8");
368
const { output, errors } = parse(text);
369
if (errors.length) {
0 commit comments