Closed coolaj86 closed 3 years ago
In order to get the Type Linting to work properly in certain modules - such as axios, you have to change your require:
axios
- let axios = require('axios'); + let axios = require('axios').default;
Not sure where to put that in the docs...
Found a spot: https://github.com/BeyondCodeBootcamp/jsdoc-typescript-starter/commit/75c65d3fbccfaf5cbd9ee3218954dc254095ace6
In order to get the Type Linting to work properly in certain modules - such as
axios
, you have to change your require:Not sure where to put that in the docs...