react native中typescript怎么声明全局变量,我之前没有用TS,声明是通过global.xxx='xxx'是可以的.现在换成TS要怎么写呢?我直接写global.xxx='xxx'也是可以的,但是WS报了个错