Marcus Blättermann

Results 7 issues of Marcus Blättermann

My suggestion is to maintain the types for TypeScript directly in this repo, while leaving the implementation in JavaScript. ### Why this approach? TypeScript can't fully describe all possibilities of...

typescript

Given the following code: ```ts (["a", "b", "c"] as const).includes(SOME_VALUE as 'a' | 'b' | 'd' ) ``` we get a Typeguard that `SOME_VALUE` is `'a' | 'b' | 'c'`...

I just debugged for half a day to find out why I couldn't deploy to Netlify; even though I was following all of the tutorials and example projects, everything worked...

priority: low
v4

```ts const arr = [{ a: 1 }] as const; let member = { a: 1 } // type is { a: number } arr.includes(member) // ERROR: Not assignable arr.includes({...

### Clear and concise description of the problem Currently there is no way to allow to comments to appear at the start of parameter lists, similar to how `allowBlockStart`, `allowObjectStart`...

enhancement

**Summary:** I propose a new rule for Prettier: `max-tokens`, which limits the maximum length of a line by the number of tokens rather than characters. This would provide several advantages,...