Enhance viewport simulation state tracking and membership signatures

This commit is contained in:
2026-04-27 16:06:23 +02:00
parent 3074d523d7
commit cdacd88abe
2 changed files with 66 additions and 1 deletions

View File

@@ -357,7 +357,10 @@ function isOpaqueExternalObjectType(type: ts.Type): boolean {
declarations.some((declaration) => {
const fileName = declaration.getSourceFile().fileName;
return (
fileName.includes(`${path.sep}node_modules${path.sep}`) ||
fileName.includes(`${path.sep}node_modules${path.sep}three${path.sep}`) ||
fileName.includes(
`${path.sep}node_modules${path.sep}@types${path.sep}three${path.sep}`
) ||
fileName.endsWith(`${path.sep}lib.dom.d.ts`)
);
})