Skip to content

Commit 067f0dc

Browse files
authored
Merge pull request #313 from Jugbot/main
Support pre-ts4.5
2 parents a4a87a7 + 16c6905 commit 067f0dc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/core/src/server/server.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import http, { Server } from 'http';
33
import portFinder from 'portfinder';
44
import { launchIDE } from 'launch-ide';
55
import { DefaultPort } from '../shared/constant';
6-
import { getIP, PathType, type CodeOptions, type RecordInfo } from '../shared';
6+
import { getIP } from '../shared';
7+
import type { PathType, CodeOptions, RecordInfo } from '../shared';
78
import { execSync } from 'child_process';
89
import path from 'path';
910
import chalk from 'chalk';

packages/core/types/server/server.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="node" />
22
import http from 'http';
3-
import { PathType, type CodeOptions, type RecordInfo } from '../shared';
3+
import type { PathType, CodeOptions, RecordInfo } from '../shared';
44
export declare const ProjectRootPath: string;
55
export declare function getRelativePath(filePath: string): string;
66
export declare function getRelativeOrAbsolutePath(filePath: string, pathType?: PathType): string;

0 commit comments

Comments
 (0)