javascript automatic how do?
zhch-hong opened this issue · comments
zhch-hong commented
The JavaScript language used by my project, I define some global variables and functions. If you want to get the automatic prompt of VSCode, how should you do?
zhch-hong commented
./types/a.d.ts
declare type myFunction<T> = (url: string, data: Record<string, string>) => Promise<T>;
this is my global function.Is it right to do this