Skip to content
Advertisement

Eslint with typescript complains it cant find a specific module

eslint complains for one of the module. The module is installed and the code works fine. Only eslint complains.

Unable to resolve path to module ‘@azure/functions’.eslintimport/no-unresolved

az/index.ts

JavaScript

.eslintrc.js

JavaScript

folder structure

JavaScript

Advertisement

Answer

Do import { AzureFunction, Context } from "@azure/functions/Interfaces.d" I checked the code in node_modules and found that there is no index file

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement