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).