zenstack
zenstack copied to clipboard
[@zenstackhq/trpc] Generate proper type imports
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.
import { ClientType as UserClientType } from "./User.router";
should be
import type { ClientType as UserClientType } from "./User.router";
[email protected] @zenstackhq/[email protected]