bbrk24
bbrk24
I don't think the third one is unambiguously possible without hooking into TS itself. Consider: ```ts namespace Symbol2 { export type iterator = 'iterator'; } type A = { [Symbol.iterator]:...
> Preferred "no implicit return" style: :void vs. trailing comma. Comma? Not semicolon? A couple other rules I thought of: - Preferred arrow style (`->` vs `=>`) for functions that...
Some of these would have to be configurable (maximum line length and `:void` vs `;` for example). Ideally, it would be possible to turn all of these off individually, just...
One issue is when one of the branches is a call: ```civet x := &: number < 0 ? -1 : Math.sqrt 5 y := &: number < 0 ?...
We could allow the parenless version for simple types like `number`, but require parens for conditional types.
Jumping in to say that going from civet straight to JS is exactly the use case I plan to need. I don't think tsc supports stdin so I can't just...
We could always use quoted keys: ```js ({ "#x": ret.#x, "#y": ret.#y } = { "#x": this.#x, "#y": this.#y }); ``` I suppose it's still possible to collide with non-private...
I just noticed this issue exists. Swift has `continue ` and `break ` for nested loops, but for `switch` statements it literally just has a dedicated keyword `fallthrough`. `fallthrough` is...
Would it be possible to do something here with the new `::` operator?
In newer versions of TS you can do this: ```ts let x = [1, 2, 3, 4, 5] satisfies [number, ...number[]]; ``` Just writing this off the top of my...