Prepared queries typings lost after export in monorepo
I'm using SST and I defined my prepared queries in a separate
core
package to be used across functions in the functions
package.
The prepared queries are defined like that:
And then imported like this:
in preparedQueries.ts
the type is well generated, but upon importing it's imported as any
.
Any ideas why it does that?0 Replies