refactor: use "import type" syntax
For some reason, "import { type A }" does not work in some cases:
> node_modules/engine.io-client/build/esm/socket.d.ts:2:15 - error TS1005: ',' expected.
> 2 import { type Packet, type BinaryType, RawData } from "engine.io-parser";
References: https://www.typescriptlang.org/docs/handbook/modules.html#importing-types D
Damien Arrachequesne committed
c36883d243d6a2923e83ab464ab805a8a3d9b266
Parent: e2b39b6