utilities
utilities copied to clipboard
feat(decorators): update decorators to new ECMAScript proposal
Warning Blocked by a more stable implementation of decorators in V8 / Node / TypeScript
- TypeScript types do not represent the ECMAScript spec
- TypeScript types do not match the runtime right now
- V8 doesn't have decorators support, TS outputs code with tslib
- Unit tests don't work at all because those use esbuild which also doesn't have ES decorators yet.
Warning Targets the
feat/typescript-v5branch but separate for easier reviewing
BREAKING CHANGE: DO NOT attempt to use this version with TypeScript 4.x, it will not work!
BREAKING CHANGE: EnumerableMethod is gone, it never really worked anyway
BREAKING CHANGE: Enumerable now has to be applied to both fields and classes for it to work
BREAKING CHANGE: Typings have generally overall changed