You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Fabric.js v6 is chock full of Typescript-y goodness, this new repo might as well be too?
Happy to help. I'd probably start by making a new Astro repo with pnpm create astro@latest (or npm create astro@latest) and select "with Typescript" (or whatever) at the relevant prompt, then diff the two directories and move over a few things.... Well, at least copy over tsconfig.json. I guess the other obvious thing would be adding typescript as a dependency, as of yesterday Astro was using "^5.5.2".
Anyhoo, it might not be too big of a push at this stage. I've tried moving a few of the demos from .js or .jsx to .ts or .tsx, the ones I tried weren't too complicated.
if you think the current repo can be typescript enabled you can try a PR, i don't mind.
I won't put effort in making it happen because i prefer to put down content.
Now that Fabric.js v6 is chock full of Typescript-y goodness, this new repo might as well be too?
Happy to help. I'd probably start by making a new Astro repo with
pnpm create astro@latest
(ornpm create astro@latest
) and select "with Typescript" (or whatever) at the relevant prompt, then diff the two directories and move over a few things.... Well, at least copy overtsconfig.json
. I guess the other obvious thing would be addingtypescript
as a dependency, as of yesterday Astro was using"^5.5.2"
.Anyhoo, it might not be too big of a push at this stage. I've tried moving a few of the demos from
.js
or.jsx
to.ts
or.tsx
, the ones I tried weren't too complicated.The default Astro tsconfigs can be found here:
https://github.com/withastro/astro/tree/main/packages/astro/tsconfigs
The default option is "strict", which generates a
tsconfig.json
which looks like:The text was updated successfully, but these errors were encountered: