"vscode react cannot find moudle when import image" Code Answer's
You're definitely familiar with the best coding language Javascript that developers use to develop their projects and they get all their queries like "vscode react cannot find moudle when import image" answered properly. Developers are finding an appropriate answer about vscode react cannot find moudle when import image related to the Javascript coding language. By visiting this online portal developers get answers concerning Javascript codes question like vscode react cannot find moudle when import image. Enter your desired code related query in the search bar and get every piece of information about Javascript code related question on vscode react cannot find moudle when import image.
vscode react cannot find moudle when import image
create global.d.ts file in folder src,and add this line
declare module "*.jpg" {
export default "" as string;
}
declare module "*.png" {
export default "" as string;
}
Source: stackoverflow.com
All those coders who are working on the Javascript based application and are stuck on vscode react cannot find moudle when import image can get a collection of related answers to their query. Programmers need to enter their query on vscode react cannot find moudle when import image related to Javascript code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about vscode react cannot find moudle when import image for the programmers working on Javascript code while coding their module. Coders are also allowed to rectify already present answers of vscode react cannot find moudle when import image while working on the Javascript language code. Developers can add up suggestions if they deem fit any other answer relating to "vscode react cannot find moudle when import image". Visit this developer's friendly online web community, CodeProZone, and get your queries like vscode react cannot find moudle when import image resolved professionally and stay updated to the latest Javascript updates.