We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65d72c5 commit 48fd614Copy full SHA for 48fd614
1 file changed
scripts/build/index.js
@@ -230,13 +230,13 @@ export const createDataBundle = async () => {
230
231
applyTransforms(bcd);
232
233
- /** @type {*} */
234
- const result = {
+ // @ts-expect-error After applyTransforms, bcd matches the public CompatData
+ // shape (mirrors resolved, version_last added, descriptions/notes converted
235
+ // to HTML), but its static type is still InternalCompatData.
236
+ return {
237
...bcd,
238
__meta: generateMeta(),
239
};
-
- return /** @type {CompatData}*/ (result);
240
241
242
/**
0 commit comments