samples icon indicating copy to clipboard operation
samples copied to clipboard

fix: add async for createPeerConnection when use await call it

Open grootgordon opened this issue 2 years ago • 2 comments

Description When use VSCode edit main.js, if we call await createPeerConnection();

there is a warning of: 'await' has no effect on the type of this expression.ts(80007 Purpose resolve warning

grootgordon avatar Oct 09 '23 03:10 grootgordon

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Oct 09 '23 03:10 google-cla[bot]

sign CLA done.

grootgordon avatar Oct 17 '23 02:10 grootgordon