add missing ts-expect-error till 5.7

This commit is contained in:
Nathan Shively-Sanders
2024-09-24 06:33:38 -07:00
committed by Matt Bierner
parent 50a1fbda47
commit 007126775c

View File

@@ -69,6 +69,7 @@ export function register(
if (response.type !== 'response' || !response.body) {
return { entries: [] };
}
// @ts-expect-error until ts5.7
return { entries: response.body.relatedFiles.map(f => client.toResource(f)), traits: [] };
});
}