diff options
Diffstat (limited to 'src/platform/polyfills.web.ts')
-rw-r--r-- | src/platform/polyfills.web.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platform/polyfills.web.ts b/src/platform/polyfills.web.ts index 1f9a3fa5e..1df661d70 100644 --- a/src/platform/polyfills.web.ts +++ b/src/platform/polyfills.web.ts @@ -1,5 +1,9 @@ +// @ts-ignore no decl -prf +import * as findLast from 'array.prototype.findlast' /// <reference lib="dom" /> +findLast.shim() + // @ts-ignore whatever typescript wants to complain about here, I dont care about -prf window.setImmediate = (cb: () => void) => setTimeout(cb, 0) |