I have a repo with a few packages. I'm trying to generate ts types for the full project but i can't seem to find a way to link the golang types across multiple packages. For example, see the user type reference. The type is in another package, but I want this type to be connected in the tygo generated file.
Any advice?
export interface LoginResponse {
access_token: string;
refresh_token: string;
user?: any /* models.User */;
}
export interface VerifyAccountResponse {
access_token: string;
refresh_token: string;
user?: any /* models.User */;
}
I have a repo with a few packages. I'm trying to generate ts types for the full project but i can't seem to find a way to link the golang types across multiple packages. For example, see the
usertype reference. The type is in another package, but I want this type to be connected in the tygo generated file.Any advice?