We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
对于 component 类型的项目,运行 npm run publish 之后,发布的内容中缺少了类型声明文件。
component
npm run publish
实际应该是在用 tsc 生成类型声明文件时出错了,直接运行 tsc 生成类型声明文件会报如下错误:
tsc
所以应该是在 tsconfig.json 里增加了 noEmit 配置导致的。(noEmit 是在这个 PR 里加上的:https://github.com/prijs/pri/pull/113/files#diff-5f12f27f3a5e43507dad6a0936033645ff2f210af80bb3e5445d51b593238a41 )
tsconfig.json
noEmit
The text was updated successfully, but these errors were encountered:
No branches or pull requests
对于
component
类型的项目,运行npm run publish
之后,发布的内容中缺少了类型声明文件。实际应该是在用
tsc
生成类型声明文件时出错了,直接运行tsc
生成类型声明文件会报如下错误:所以应该是在
tsconfig.json
里增加了noEmit
配置导致的。(noEmit
是在这个 PR 里加上的:https://github.com/prijs/pri/pull/113/files#diff-5f12f27f3a5e43507dad6a0936033645ff2f210af80bb3e5445d51b593238a41 )The text was updated successfully, but these errors were encountered: