GoogleChrome / GoogleChrome/chrome-types
navigator.mediaDevices.getUserMedia typescript complains
- Dominant language
- JavaScript
- Stars
- 274
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
I have just copy-pasted the [official chrome extension samples](https://github.com/GoogleChrome/chrome-extensions-samples/blob/main/functional-samples/sample.tabcapture-recorder/offscreen.js) into a typescript project and typescript complains eventhough the code works correctly.
tsconfig
`{
"compilerOptions": {
"strict": true,
"target": "es6",
"moduleResolution": "bundler",
"module": "ES6",
"esModuleInterop": true,
"sourceMap": false,
"rootDir": "src",
"outDir": "dist/js",
"noEmitOnError": true,
"jsx": "react",
"types": ["chrome-types"]
},
}
`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.