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
请问local.d.ts中window的声明前面为什么加export ={}
local.d.ts
我想实现扩展window的操作,并可以declare module 'xxx'的操作,放在一个xxx.d.ts文件中会报错
export = {} declare global { interface Window{ __REDUX_DEVTOOLS_EXTENSION_COMPOSE__: Function } } declare module '*.png'; // 在import引入的时候会报错没有定义
The text was updated successfully, but these errors were encountered:
No branches or pull requests
请问
local.d.ts
中window的声明前面为什么加export ={}我想实现扩展window的操作,并可以declare module 'xxx'的操作,放在一个xxx.d.ts文件中会报错
The text was updated successfully, but these errors were encountered: