Skip to content

Commit db833cb

Browse files
authored
fix: sdk types (#1058)
1 parent 85f2daf commit db833cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/sdk/tests/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { File, Server } from '@rsdoctor/utils/build';
33
import { Common, SDK } from '@rsdoctor/types';
44
import { request } from 'http';
55
import { tmpdir } from 'os';
6-
import path from 'path';
6+
import path from 'node:path';
77
import { RsdoctorSDK } from '../src/sdk';
88

99
export interface MockSDKResponse {
10-
sdk: RsdoctorSDK;
10+
sdk: SDK.RsdoctorSDKInstance;
1111
server: SDK.RsdoctorServerInstance;
1212
// get<T extends boolean = false>(pathname: string, toJson?: T): Promise<T extends true ? object : string>;
1313
get<T extends SDK.ServerAPI.API>(

0 commit comments

Comments
 (0)