如何在 React Native 中声明全局类型 #119
Replies: 1 comment
-
给 window 扩展类型,这么写 export {};
declare global {
interface Window {
foo: string;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如何在 React Native 中声明全局类型
本文讲解了如何在 React Native 中声明全局类型
https://youngjuning.js.org/d46ebc530d48/?highlight=%E5%85%A8%E5%B1%80%E7%B1%BB%E5%9E%8B
Beta Was this translation helpful? Give feedback.
All reactions