tyler
tyler
@nickreese Do you have any suggestions or ideas for how a project would opt into using Typescript? I think the first step is to follow @orta's advice for setting up...
> ``` > const jsversion = esbuild.transformSync(fs.readFileSync("routes.js"), { loader: 'ts' }) > ``` @orta should this code say `routes.ts`?
@orta `transformSync` takes a string as the first param, which is named `input`, so I am assuming the line should be more like this: ```ts const jsversion = esbuild.transformSync("routes.ts", {...
Was this fixed with #109? I noticed it was mentioned as getting resolved, but I cannot get the sorting to work with and sort of `classname` function still. Demo of...
I'm hoping this helps :) https://github.com/orta/vscode-twoslash-queries/pull/39
> What you can also do, is not use a `confirm` is the folder don't exist: This is really nice! Thank you @MacFJA!
> ... @tylerlaws0n would @slvrtrn's proposal solve your problem? Yes! This would work and be very helpful. > Just to clarify: the idea was that the meta.type TS hint would...
If a middle ground is desirable; you could type out just the outer part of the type and use `string` inside: ```ts type Tuple = `Tuple(${string}, ${string})`; const aTuple: Tuple...
yeah, that looks good, thanks!
I had the following example for this if it helps: (pasted from https://github.com/denoland/docs/issues/1313) I was working on a promise util library here: https://jsr.io/@tyler/[email protected] I have documented my first util with...