LukeAbby

Results 45 comments of LukeAbby

Here's a more minimal reproduction: ```ts // @filename: index.ts import { AssertionError } from "./assert"; new AssertionError("assert"); // @filename: assert.d.ts declare namespace assert { class AssertionError extends Error {} const...

You mention: > This is needed to feed the individual frame data packets to the new(ish) "MediaCodecs" web API which enables for native, hardware accelerated decoding of video into individual...

If https://github.com/microsoft/TypeScript/issues/43826 were to be solved this could be perfectly done but I believe at the moment we probably have to be a bit overly conservative to prevent soundness holes....

When we do this make sure to follow up with ARgits from #1590 of the change

Similar footgun types include, but are not limited to: - `{}`; this is not an empty object, it instead includes numbers, strings, arrays, literally everything but `null` and `undefined`. -...