浏览代码

change `import` to `import type`

Sergii KLiuchnyk 2 年之前
父节点
当前提交
0d0cf63133
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/config/index.ts

+ 1 - 1
src/config/index.ts

@@ -1,4 +1,4 @@
-import {Server, ServerOptions} from 'ws';
+import type {Server, ServerOptions} from 'ws';
 
 export interface IConfig {
   readonly host: string;