mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: migrate src/Events to TypeScript (#5724)
This commit is contained in:
parent
18238280df
commit
30aff827ea
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const Events = {
|
export const Events = {
|
||||||
Page: {
|
Page: {
|
||||||
Close: 'close',
|
Close: 'close',
|
||||||
Console: 'console',
|
Console: 'console',
|
||||||
@ -75,6 +75,4 @@ const Events = {
|
|||||||
CDPSession: {
|
CDPSession: {
|
||||||
Disconnected: Symbol('Events.CDPSession.Disconnected'),
|
Disconnected: Symbol('Events.CDPSession.Disconnected'),
|
||||||
},
|
},
|
||||||
};
|
} as const;
|
||||||
|
|
||||||
module.exports = {Events};
|
|
Loading…
Reference in New Issue
Block a user