How to integrate Electron into WebStorm without the "Module not installed" prompt?

My Electron project works just fine. But I can’t go to the announcement of the electronic plugin, and I can’t figure out how to solve it.

Basically, I just want to get rid of this tooltip shown in the image below, and instead I can move on to declaring it.

Module not installed ...

Unresolved function or method ...

Thank.

+1
source share
1 answer

You will need to install TypeScript type definitions for Electron, the first section of this blog post explains how to configure code completion for ReactJS in WebStorm:

, TypeScript react.d.ts JavaScript .

| | JavaScript | , "...", TypeScript , "". JavaScript WebStorm .

, , Electron github-electron ( electron).

+1

Source: https://habr.com/ru/post/1662323/


All Articles