edit: similar to vitejs bug but different because I don't reimport.
edit2: i just created a new clean project vue build tools and just selected the typescript features and it still doesn't work.
edit3: demo
I can't import the following interface:
export interface Topic {
title: string;
description: string;
}
in App.vue:
import { Topic } from "@/models/topic";
The requested module '/src/models/topic.ts' does not provide an export named 'Topic'
What is happening here? I followed this guide vue build tools
App.vueis not even using TypeScript (which causes an unrelated compiler error). Can you update the demo so that it actually reproduces the original problem in question?