Fix up polyfills, remove unused deps (#9946)

This commit is contained in:
Samuel Newman
2026-02-25 19:43:46 +00:00
committed by GitHub
parent 85ffc77983
commit 49272be36b
7 changed files with 7 additions and 60 deletions
+3 -4
View File
@@ -1,8 +1,5 @@
import 'array.prototype.findlast/auto'
/// <reference lib="dom" />
// @ts-ignore whatever typescript wants to complain about here, I dont care about -prf
window.setImmediate = (cb: () => void) => setTimeout(cb, 0)
import 'setimmediate'
if (process.env.NODE_ENV !== 'production') {
// In development, react-native-web's <View> tries to validate that
@@ -32,3 +29,5 @@ if (process.env.NODE_ENV !== 'production') {
}
}
}
export {}