Describe the bug
I'm using "typesOverrides": {} options with typescript 5.0.0 and i'm receiving the following compile error on the *.queries.ts generated file:
This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'.ts(1371)
Since Typescript 3.8, the correct way is to use type-only imports and exports.
Describe the bug I'm using
"typesOverrides": {}
options with typescript5.0.0
and i'm receiving the following compile error on the*.queries.ts
generated file:Since Typescript 3.8, the correct way is to use type-only imports and exports.
See: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export
Test case
The type override was imported using the following syntax:
import { SubscriptionStatus } from '../../../';
The correct way (since is only a type and not a value) is to use:
import type { SubscriptionStatus } from '../../../';