Skip to content

Commit 9827e54

Browse files
committed
chore: use subpath imports
1 parent bd7afaa commit 9827e54

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/result/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"engines": {
1818
"node": "24"
1919
},
20-
"imports": {
21-
"#*": "./src/*.ts"
22-
},
2320
"files": [
2421
"build"
2522
],
23+
"imports": {
24+
"#*": "./src/*.ts"
25+
},
2626
"exports": {
2727
"types": "./build/index.d.ts",
2828
"default": "./build/index.js"

packages/result/src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { setTimeout } from "node:timers/promises";
22
import { assert, describe, expect, test } from "vitest";
3-
import { type AsyncResult, err, ok, type Result } from "#/index";
3+
import { type AsyncResult, err, ok, type Result } from "#index";
44

55
class CustomError extends Error {
66
readonly customField: number;

0 commit comments

Comments
 (0)