From 30aff827ea5f59e4e6673e7a57cbb6c5fe096077 Mon Sep 17 00:00:00 2001 From: Jack Franklin Date: Thu, 23 Apr 2020 12:52:09 +0100 Subject: [PATCH] chore: migrate src/Events to TypeScript (#5724) --- src/{Events.js => Events.ts} | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename src/{Events.js => Events.ts} (98%) diff --git a/src/Events.js b/src/Events.ts similarity index 98% rename from src/Events.js rename to src/Events.ts index 8050cba93ef..826f9627460 100644 --- a/src/Events.js +++ b/src/Events.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -const Events = { +export const Events = { Page: { Close: 'close', Console: 'console', @@ -75,6 +75,4 @@ const Events = { CDPSession: { Disconnected: Symbol('Events.CDPSession.Disconnected'), }, -}; - -module.exports = {Events}; +} as const;