Dimava

Results 46 comments of Dimava

Hmm, apparently you can also use `\` and `` for markdown ``` first line·· second line\ third line fourth line ``` `` doesn't work in VSCode JSDoc tho

I think there is one and only one thing that can reduce memory consumption in HTML *Removing the required node from the document* (with `el.remove()`) (then the #document will be...

> Converting WebToEpub into a Calibre plug-in is not practical, for two main reasons: > 1. WebToEpub is written in JavaScript. Calibre is written in Python. > 2. WebTOEpub is...

edit: this doesn't work, nevermind https://tsplay.dev/WYllxm ```ts interface Endpoint { method: "get" | "post" | "put" | "patch" | "delete"; path: string; response: z.ZodTypeAny; parameters?: Array; }; function makeEndpoint(api: {[K...

```ts declare function makeApi( api: Narrow // & NoInfer< & readonly ZodiosEndpointDefinition[] & readonly {[K in keyof Api[0] as K extends X ? never: K]: never}[] // > ): Api;...

```ts type UpTo = | number extends N ? number : A['length'] extends N ? A[number] : UpTo; type Proper = & {[K in keyof T | X]?: K extends...

I may try ArkType -inspired validator approach Do you have a benchmark? --- Why is `makeApi` `api: Item[]` and not `api: Record` by the way ?

I just ran into this as well, this happened after I was greeted with some post update setup screen (related to suggesting logging into cloud Windows account) after updating explorer...

nit: Vue is not added by default as it drastically increases lint time

Honestly I would like to see the types inlined rather then as-is I did make a generator POC in https://github.com/eslint-types/eslint-define-config/pull/177 It can be done much easier, I guess, if it'll...