puppeteer/packages/puppeteer-core
Kyrylo 3e80667048
chore: use named import for devtools-protocol module (#9511)
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->

**What kind of change does this PR introduce?**
types fix

**Did you add tests for your changes?**
No

**If relevant, did you update the documentation?**
Not relevant

**Summary**
I am updating `import`s of `devtools-protocol` to always use named
import instead of the default.
For some reason, typescript doesn't understand when it is imported as
default.

```
node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.d.ts:23:59 - error TS2694: Namespace '"/Users/kyrylo/pacakge/node_modules/puppeteer-core/node_modules/devtools-protocol/types/protocol"' has no exported member 'Target'.

23 export declare type TargetFactory = (targetInfo: Protocol.Target.TargetInfo, session?: CDPSession) => Target;
                                                             ~~~~~~


Found 1 error in node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.d.ts:23
```

**Does this PR introduce a breaking change?**
No
<!-- If this PR introduces a breaking change, please describe the impact
and a migration path for existing applications. -->

**Other information**
I am updating `import`s of `devtools-protocol` to always use named
import instead of the default.
2023-01-17 11:34:57 +00:00
..
src chore: use named import for devtools-protocol module (#9511) 2023-01-17 11:34:57 +00:00
third_party chore: add BiDi integration for Chromium (#9410) 2022-12-20 14:37:31 +00:00
tools chore: re-export all exports (#9241) 2022-11-10 17:11:18 +01:00
.gitignore chore: use test runner for installation tests (#9110) 2022-10-14 13:37:07 +02:00
api-extractor.json chore: re-export all exports (#9241) 2022-11-10 17:11:18 +01:00
CHANGELOG.md chore: release main (#9495) 2023-01-12 08:21:09 +01:00
package.json feat(chromium): roll to Chromium 110.0.5479.0 (r1083080) (#9500) 2023-01-12 11:31:20 +01:00
rollup.third_party.config.js chore: add deps needed for BiDi (#9439) 2022-12-19 15:54:58 +01:00
tsconfig.json feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00