Skip to content

Commit 7ff687c

Browse files
authored
Update build.ts
1 parent e7e2597 commit 7ff687c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ async function emitDom() {
9494

9595
const overriddenItems = await readInputJSON("overridingTypes.jsonc");
9696
const addedItems = await readInputJSON("addedTypes.jsonc");
97+
const patches = await readPatches();
9798
const comments = await readInputJSON("comments.json");
9899
const deprecatedInfo = await readInputJSON("deprecatedMessage.json");
99100
const documentationFromMDN = await generateDescriptions();
100101
const removedItems = await readInputJSON("removedTypes.jsonc");
101-
const addedItemsKDL = await readPatches();
102102

103103
async function readInputJSON(filename: string) {
104104
const content = await fs.readFile(new URL(filename, inputFolder), "utf8");
@@ -231,8 +231,8 @@ async function emitDom() {
231231
webidl = prune(webidl, removedItems);
232232
webidl = mergeApiDescriptions(webidl, documentationFromMDN);
233233
webidl = merge(webidl, addedItems);
234-
webidl = merge(webidl, addedItemsKDL);
235234
webidl = merge(webidl, overriddenItems);
235+
webidl = merge(webidl, patches);
236236
webidl = merge(webidl, comments);
237237
webidl = mergeDeprecatedMessage(webidl, deprecatedInfo);
238238
for (const name in webidl.interfaces!.interface) {

0 commit comments

Comments
 (0)