Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve browser.d.ts with DefinitelyTyped/chrome. #2

Closed
seansfkelley opened this issue May 20, 2017 · 2 comments
Closed

Resolve browser.d.ts with DefinitelyTyped/chrome. #2

seansfkelley opened this issue May 20, 2017 · 2 comments

Comments

@seansfkelley
Copy link
Owner

@types/chrome is the Chrome implementation that WebExtensions is heavily based on. WebExtensions/Firefox have some changes, namely around Promises v. callbacks.

@seansfkelley
Copy link
Owner Author

Punting on this -- I'll continue to use my own home-rolled types because I prefer the Promise-based API, and chrome-extension-async does a great job of shimming Chrome's callback-style to Firefox's Promise-style.

@seansfkelley
Copy link
Owner Author

Actually, looks like chrome-extension-async now includes typings so maybe I should just use those...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant