-
-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
A-semanticArea - SemanticArea - SemanticC-bugCategory - BugCategory - Buggood first issueExperience Level - Good for newcomersExperience Level - Good for newcomers
Description
import type { mySchema } from './my-schema';
function test(arg: ReturnType<typeof mySchema>) {
// ^^^^^^^^^^^^^^^ should be a `Type` reference
arg;
}
test('');Note that non-type imports work as expected:
import { mySchema } from './my-schema';
function test(arg: ReturnType<typeof mySchema>) {
arg;
}
test('');Screenshots
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-semanticArea - SemanticArea - SemanticC-bugCategory - BugCategory - Buggood first issueExperience Level - Good for newcomersExperience Level - Good for newcomers
Type
Fields
Give feedbackPriority
None yet

