Evan
Evan3mo ago

Generating Types in v11

I am trying to generate types with tsc --declaration in order to import the type for the app router into a different project. Is this use case supported in v11? the app router changes to any type after upgrading, and the declaration files reference these "do-not-import" files
2 Replies
divramod
divramod2mo ago
where you able to find a solution @Evan ?
Evan
EvanOP2mo ago
@divramod no, my understanding is that the monorepo model is required right now for v11. I am directly importing from the server, not creating a type I might be wrong, but I gave up and went with that solution for now if you figure it out pls lmk!