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