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
在项目中引入 import Cron, { CronFns, CronProps } from 'qnn-react-cron';
在tsx中,会报下面这个问题
如果添加一个 custom.d.ts 然后写入下面内容 declare module 'qnn-react-cron' { const content: React.FC; export { CronFns, CronProps }; export default content; } 在ts中又会失去类似提示功能
The text was updated successfully, but these errors were encountered:
感谢反馈,因为不是使用TS实现的,所以导致目前这样,等下个大版本会用TS进行重构~
Sorry, something went wrong.
No branches or pull requests
在项目中引入
import Cron, { CronFns, CronProps } from 'qnn-react-cron';
在tsx中,会报下面这个问题
如果添加一个 custom.d.ts 然后写入下面内容
declare module 'qnn-react-cron' {
const content: React.FC;
export { CronFns, CronProps };
export default content;
}
在ts中又会失去类似提示功能
The text was updated successfully, but these errors were encountered: