-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add instructions for using this library #17
Comments
@vjpr what I did was creating a /// <reference types="chrome-types" />
declare global {
interface Window {
chrome: chrome;
}
} not really sure if that's the correct way to do it, but it's working. Hope this helps! |
This is funny, an awesome library, but the Made this PR — #39 hope it helps! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not clear on how best to use this library. Do I need to make
tsconfig.json
changes? Or///reference
..Do I use
"typeRoots": ["./node_modules/@types", "./node_modules/chrome-types"]
?The text was updated successfully, but these errors were encountered: