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
@PatrickJS I don't quite follow the suggestion. Is this something that can be handled by transpilation (as opposed to changing TypeScript's type checker)? (I'm hoping so, given your link to actual TS code doing something similar.) If so, could you give an example of what you have in mind for Civet source and TS output?
Could you show one example of what you'd like to write and what it would transpile to? Currently I see examples of each, but they don't match, so it's difficult to understand the goal.
yeah I guess the proposed syntax in the ts thread in wasn't exactly finalized and looking it over and the code I guess it was more of if we had this then the code can be refactored. So nothing actionable, my bad. I'll close the issue 👍
since TypeScript won't add features for better TypeScript (because it needs to be a JavaScript pattern) maybe we can add features to provide better type DX devs who use Civet
microsoft/TypeScript#1213
^ issue to make this code easier
https://github.com/TanStack/router/blob/beta/packages/react-router/src/link.tsx#L27...L69
The text was updated successfully, but these errors were encountered: