-
## Search Terms
typescript jsdoc inside ts files
## Suggestion
It would be great if JSDoc comments in `.ts` files worked the same as in `.js` files.
I believe this change is fairly…
-
# Suggestion
```ts
declare const error: () => never;
const o = { get p() { error(); } };
```
Produces the error `A 'get' accessor must return a value.(2378)`. Throwing an error directly would…
-
### 🔍 Search Terms
Labelled tuples
### ✅ Viability Checklist
- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X] This wouldn't change the runtime behavior of exist…
-
👋 thanks for all your work building this!
I'm curious if it would be possible to support building out the stack to allow for apps to be deployed using the API. It seems that the relevant bits are i…
-
When intersecting a `z.object` and a `z.record`, zod applies validators for the keys and values of the record to the rest of the object.
```typescript
const ConfigSchema = z
.object({
nam…
-
## Search Terms
bitwise operators, integer type, int32
## Suggestion
Add an `int32` subtype for `number` returned by TypeScript from bitwise operators.
```ts
function coerce(n: number): i…
-
## Search Terms
test-262, test262
## Suggestion
Run [test-262](https://github.com/tc39/test262) on TS downlevel
## Use Cases
> What do you want to use this for?
- Verify that downlev…
-
## Suggestion
Add the `PublicOf` type suggested in this [issue's comment](https://github.com/microsoft/TypeScript/issues/471#issuecomment-381842426) by @DanielRosenwasser
## Use Cases
Implem…
-
# Suggestion
TypeScript 3.x forbids type annotations in `catch` blocks:
```ts
try {
// ...
} catch (e: Error) { //
-
## Search Terms
jsdoc parity, jsdoc equivalence, jsdoc
## Suggestion
The JSDoc mode of TypeScript is very useful in cases where a build step (esp for node libraries for example) isn't desired…