Namespaces or global variables declared in the  global.d.ts  file do not take effect within the  script  tag of the  html  file 
 individuals like  vscode  to cooperate with  d.ts  file"s intelligent completion function, so for their own files, they will write a  d.ts  file. In  js  file, intelligent completion works very well, but in the  script  tag of  html  file, intelligent completion does not appear the type declared in  d.ts  file 
   
						