Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@zenstackhq/trpc] Generate proper type imports #1709

Open
juni0r opened this issue Sep 17, 2024 · 0 comments
Open

[@zenstackhq/trpc] Generate proper type imports #1709

juni0r opened this issue Sep 17, 2024 · 0 comments

Comments

@juni0r
Copy link

juni0r commented Sep 17, 2024

The TRPC plugin generates some type imports without explicitely declaring them as such. This results in a compile error if the option verbatimModuleSyntax is enabled.

Screenshot 2024-09-17 at 14 45 32
import { ClientType as UserClientType } from "./User.router";

should be

import type { ClientType as UserClientType } from "./User.router";

[email protected]
@zenstackhq/[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant