Skip to content

Multiple pagakes with various types into one file #75

@shortcircuit3

Description

@shortcircuit3

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 */;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions