导入kebabCase等工具函数时找不到类型声明
SoulLyoko opened this issue · comments
SoulLyoko commented
// 正常使用,但提示找不到模块“unplugin-vue-components”或其相应的类型声明。
import { kebabCase } from "unplugin-vue-components";
// 正常使用,但提示找不到模块“unplugin-vue-components/dist/index.js”或其相应的类型声明。
import { kebabCase } from "unplugin-vue-components/dist/index.js";
// 有类型提示,但并没有指向该路径的文件
import { kebabCase } from "unplugin-vue-components/index";
Kevin Deng 三咲智子 commented
Oh wrong PR number, PR #398 will fix this issue.