GoogleChrome / chrome-types

Code to parse Chrome's internal extension type definitions—published on NPM as chrome-types

Home Page:https://www.npmjs.com/package/chrome-types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Describe the returned object of chrome.runtime.getManifest

tophf opened this issue · comments

commented

@types/chrome does it explicitly while you in this repo might be able to auto-generate it from source e.g. by walking idl/json files referenced in api_sources.gni. If not feasible, just copy it from @types/chrome (maybe even automatically via a plain regexp or smart parsing with acorn).