Fix layer check errors

This commit is contained in:
Matt Bierner
2025-03-24 15:00:10 -07:00
parent ee0c181bd7
commit b998a666c0
2 changed files with 7 additions and 0 deletions

View File

@@ -85,6 +85,9 @@ const CORE_TYPES = [
'SubtleCrypto',
'JsonWebKey',
'MessageEvent',
// node web types
'ReadableStreamDefaultReader',
'DOMException',
];
// Types that are defined in a common layer but are known to be only
// available in native environments should not be allowed in browser

View File

@@ -84,6 +84,10 @@ const CORE_TYPES = [
'SubtleCrypto',
'JsonWebKey',
'MessageEvent',
// node web types
'ReadableStreamDefaultReader',
'DOMException',
];
// Types that are defined in a common layer but are known to be only