Skip to content

Commit defa158

Browse files
fix: fix imports in type test file (#87)
Co-authored-by: Carlos Sousa <carlosedu.eduardo99@gmail.com>
1 parent a65af10 commit defa158

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "index.d.ts",
77
"scripts": {
88
"test": "node --test --allow-natives-syntax",
9-
"test:types": "tsd -f test/types.test-d.ts",
9+
"test:types": "tsd -f types/types.test-d.ts",
1010
"lint": "biome lint .",
1111
"lint:ci": "biome ci .",
1212
"lint:fix": "biome lint --write .",
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Histogram } from "node:perf_hooks";
22
import { expectAssignable, expectNotAssignable, expectType } from "tsd";
3+
34
import {
4-
type BenchNode,
55
Suite,
66
V8GetOptimizationStatus,
77
V8NeverOptimizePlugin,
@@ -11,7 +11,9 @@ import {
1111
htmlReport,
1212
jsonReport,
1313
textReport,
14-
} from "../index";
14+
} from "..";
15+
16+
import type { BenchNode } from "..";
1517

1618
expectType<BenchNode.Suite>(new Suite());
1719
expectType<BenchNode.Suite>(

0 commit comments

Comments
 (0)