Closed eokwukwe closed 2 years ago
Hi @eokwukwe .
Thank you for opening this issue. I'm not using Vue myself, so I'm not sure about this, but I think you can just type shared data the same way you type regular page props. At least that's the way it is done with react:
Hello @eidellev. Thank you for this wonderful package. I am using it with Vue 3 and Typescript. I can't find how to add type definitions for shared data.
Although it is working, Typescript is complaining that those properties are
unknown
and I don't get suggestions.How can I add type definitions for shared data?