mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-22 05:59:31 +08:00
TypeScript class fields declared `unknown` or `object`, also with `null` or `undefined` or as arrays of those, were refused with SC1090. They now use the checked-dynamic storage that JavaScript class fields without a declared type already use. This covers instance fields, static fields and parameter properties. Fields declared `any` stay refused. Fixes #1147 Co-authored-by: Alan Leal <33952+alantriesagain@users.noreply.github.com>