mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-01 07:33:12 +08:00
- listeners() and rawListeners() in TypeScript of an event that no literal emit or listener gives a tuple (one registered only under computed names) read the untyped array, so each returned listener takes every argument a call passes. The array was checked into zero-argument functions, which called the listener without its arguments. - A typed 'newListener' or 'removeListener' listener in a program with a checked-dynamic listener of the other meta event registers through the adapter. The meta lowering's check looked only at the listener's own event and refused it with SC2020.