chrome-types icon indicating copy to clipboard operation
chrome-types copied to clipboard

navigator.mediaDevices.getUserMedia typescript complains

Open mp3por opened this issue 1 year ago • 0 comments

I have just copy-pasted the official chrome extension samples into a typescript project and typescript complains eventhough the code works correctly.

image

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"] }, }

mp3por avatar Jan 04 '24 21:01 mp3por