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
类型“{ _driver: string; _support: () => boolean; _initStorage: (options: any) => Promise; clear: (callback: any) => any; getItem: (key: any, callback: any) => any; iterate: (iterator: any, callback: any) => any; ... 5 more ...; dropInstance: (options: any, callback: any) => any; }”的参数不能赋给类型“LocalForageDriver”的参数。 属性“_support”的类型不兼容。 不能将类型“() => boolean”分配给类型“boolean | LocalForageDriverSupportFunc”。 不能将类型“() => boolean”分配给类型“LocalForageDriverSupportFunc”。 不能将类型“boolean”分配给类型“Promise”。ts(2345)
基础环境信息:
macOS 14.5
20.11.0
1.90.0
2.0.19
基础依赖信息:
3.4.27
5.2.8
3.0.0-alpha-4010820240603001
pnpm
The text was updated successfully, but these errors were encountered:
请问一下是使用hbuilderx时出现的错误吗?我这边自用项目在vscode上打开并尝试了一下暂时没有发现问题
Sorry, something went wrong.
censujiang
No branches or pull requests
描述问题
类型“{ _driver: string; _support: () => boolean; _initStorage: (options: any) => Promise; clear: (callback: any) => any; getItem: (key: any, callback: any) => any; iterate: (iterator: any, callback: any) => any; ... 5 more ...; dropInstance: (options: any, callback: any) => any; }”的参数不能赋给类型“LocalForageDriver”的参数。
属性“_support”的类型不兼容。
不能将类型“() => boolean”分配给类型“boolean | LocalForageDriverSupportFunc”。
不能将类型“() => boolean”分配给类型“LocalForageDriverSupportFunc”。
不能将类型“boolean”分配给类型“Promise”。ts(2345)
复现
系统信息
基础环境信息:
macOS 14.5
20.11.0
1.90.0
2.0.19
基础依赖信息:
3.4.27
5.2.8
3.0.0-alpha-4010820240603001
使用的包管理器
pnpm
核对
The text was updated successfully, but these errors were encountered: