Build type definitions #6270
kentcdodds
started this conversation in
Proposals
Replies: 2 comments
-
Alternatively, Remix could export a handy util to validate the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes we already have plans for providing public types for main Remix artifacts (config, assets manifest, server build) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The
build/index.js
file generated by Remix's build doesn't have types associated. As a result, I'm getting a TypeScript error in my server when trying to follow the template by @jacob-ebey in #6229:Because the build is a
.js
file, TypeScript doesn't know what the types for it are. Would it be possible for Remix to write a.d.ts
file next to thebuild/index.js
?Beta Was this translation helpful? Give feedback.
All reactions