Flow interface declarations for the Chrome extensions API. Provides type declarations for the chrome
variable and Chrome object types.
npm install --save-dev flow-interfaces-chrome
Add the interfaces to your .flowconfig
:
[libs]
node_modules/flow-interfaces-chrome/interfaces/
Detailed object types described in the Chrome extension docs are also available.
These types are prefixed with chrome$
, e.g. chrome$Event
.