0

I have 2 files, module.mjs and project.js. In module.mjs there are all functions and classes used in project.js file.

My problem is that I can't see class methods or suggestions or even class suggestions in project.js file, that are imported from module file. It would't be a problem, that it doesn't suggest, If I only had few class methods, but I don't.

I am using this import sentence:

import * as func from './modules/functions.mjs'
AleksanderGD
  • 414
  • 5
  • 10
Shammz
  • 1
  • 2

1 Answers1

0

Changing .mjs to .js helped me, now everything in Intellisense autocomplete is showing as it should.

Shammz
  • 1
  • 2