ts2339 error: how to use typescript mixin in vuejs project?
问题 i recently converted my vuejs to typescript base, but now i have problem with using mixin in typescript. i used two types of mixin, but none worked for me and it shows error ts2339, and i couldnt found the solution on https://vuejs.org/v2/guide/typescript.html#Basic-Usage: first one: //mixin.ts import {ViewState} from "@/types"; import {mocked_view_state} from "@/api/mock/profile.device.group.mock"; export const ProfileDeviceGroup = { methods: { resetViewState(): ViewState { return mocked