Skip to content

Commit a5f1ea0

Browse files
committed
feat: add rstack test type exports
1 parent 2c87287 commit a5f1ea0

4 files changed

Lines changed: 11 additions & 2 deletions

File tree

packages/rstack/package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"files": [
1111
"bin",
12-
"dist"
12+
"dist",
13+
"types"
1314
],
1415
"type": "module",
1516
"types": "./dist/index.d.ts",
@@ -23,7 +24,13 @@
2324
"default": "./dist/test.js"
2425
},
2526
"./types": {
26-
"types": "./types.d.ts"
27+
"types": "./types/index.d.ts"
28+
},
29+
"./test/globals": {
30+
"types": "./types/test/globals.d.ts"
31+
},
32+
"./test/importMeta": {
33+
"types": "./types/test/importMeta.d.ts"
2734
},
2835
"./package.json": "./package.json"
2936
},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="@rstest/core/globals" />
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="@rstest/core/importMeta" />

0 commit comments

Comments
 (0)