TypeScript
TypeScript copied to clipboard
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
# The `internal` Modifier https://github.com/microsoft/TypeScript/issues/5228 * We've discussed an `internal` modifier on-and-off since 2015. * High 👍 count, but haven't pursued it. * Today you can use `/** @internal */`...
# Always Report `useDefineForClassFields`-Related Errors https://github.com/microsoft/TypeScript/pull/59623 * When a dev writes a parameter property and a class field depends on the parameter property, we error under `useDefineForClassFields` (or if implicitly...
# Extension Rewriting https://github.com/microsoft/TypeScript/pull/59767 * We've discussed what we need to do with async imports. * One possibility: you do the transform yourself. * Another: we provide a runtime shim...
# Consistency for Computed Properties in Classes #59860 * Working on making computed properties work consistently between source files and declaration files. * In object literals, anything goes. * In...
### 🔎 Search Terms undefined length elaborateDidYouMeanToCallOrConstruct ### 🕗 Version & Regression Information - This changed between versions 5.5.4 and 5.6.2 - I was unable to test this on the...
When trying to implement a fairly basic, but polymorphic, active record style model system we run into issues with the type system not respecting `this` when used in conjunction with...
### Acknowledgement - [x] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion. ### Comment This GitHub issue contains feedback on the...
### Acknowledgement - [x] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion. ### Comment Described order of execution of initializers added...
The described order in which initializers added with `context.addInitializer()` execute was incorrect. Reference: https://github.com/tc39/proposal-decorators?tab=readme-ov-file#adding-initialization-logic-with-addinitializer Fixes #60251
fixes https://github.com/microsoft/TypeScript/issues/60202 cc @gabritto