Skip to content

Commit

Permalink
Use type import in client
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Dec 8, 2023
1 parent fb131f4 commit bbd7c8c
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions client/src/client.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
import { io, Socket as SocketIO } from "socket.io-client";
import {
Bbox,
BboxWithZoom, CRU, EventHandler, EventName, FindOnMapQuery, FindPadsQuery, FindPadsResult, FindQuery, GetPadQuery, HistoryEntry, ID, Line,
LineExportRequest, LineTemplateRequest, LineToRouteCreate, MapEvents, Marker, MultipleEvents, ObjectWithId,
PadData, PadId, PagedResults, RequestData, RequestName, ResponseData, Route, RouteClear, RouteCreate, RouteExportRequest,
RouteInfo,
RouteRequest,
SearchResult,
TrackPoint, Type, View, Writable
} from "facilmap-types";
import { io, type Socket as SocketIO } from "socket.io-client";
import type { Bbox, BboxWithZoom, CRU, EventHandler, EventName, FindOnMapQuery, FindPadsQuery, FindPadsResult, FindQuery, GetPadQuery, HistoryEntry, ID, Line, LineExportRequest, LineTemplateRequest, LineToRouteCreate, MapEvents, Marker, MultipleEvents, ObjectWithId, PadData, PadId, PagedResults, RequestData, RequestName, ResponseData, Route, RouteClear, RouteCreate, RouteExportRequest, RouteInfo, RouteRequest, SearchResult, TrackPoint, Type, View, Writable } from "facilmap-types";

export interface ClientEvents extends MapEvents {
connect: [];
Expand Down

0 comments on commit bbd7c8c

Please sign in to comment.