Protocol definitions in frontend now require imports

4 views
Skip to first unread message

Tim Van der Lippe

unread,
May 17, 2021, 9:37:30 AM5/17/21
to devtools-dev
Hey all,

In https://crrev.com/c/2897519 we have removed the global Protocol types from every single `ts_library` target. If you want to refer to a CDP type, you should now import the relevant types directly:

For `Protocol.` types, import from `front_end/generated/protocol.js`.
For `ProtocolProxyApi.` types, import from `front_end/generated/protocol-proxy-api.js`.

For additional examples, please see the prior CLs that have landed, such as https://crrev.com/c/2897294

Let me know if you have any questions.

Cheers,
Tim
Reply all
Reply to author
Forward
0 new messages