You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a JS file,when I create an object,such as const status = { PENDING: Symbol('pending'), FUFILLED: Symbol('fulfilled'), REJECTED: Symbol('rejected'), }
But in my editor, when using status later, put the mouse on it,the code hint shows information from the lib.dom.d.ts file , it shows var sattus:string from declare var status: string;
How to avoid this??
The text was updated successfully, but these errors were encountered:
In a JS file,when I create an object,such as
const status = { PENDING: Symbol('pending'), FUFILLED: Symbol('fulfilled'), REJECTED: Symbol('rejected'), }
But in my editor, when using
status
later, put the mouse on it,the code hint shows information from the lib.dom.d.ts file , it showsvar sattus:string
fromdeclare var status: string;
How to avoid this??
The text was updated successfully, but these errors were encountered: