@@ -2,9 +2,7 @@ import type {
2
2
Custom as Custom_ ,
3
3
DoneCallback as DoneCallback_ ,
4
4
File as File_ ,
5
- RuntimeContext as RuntimeContext_ ,
6
5
Suite as Suite_ ,
7
- SuiteHooks as SuiteHooks_ ,
8
6
Task as Task_ ,
9
7
TaskBase as TaskBase_ ,
10
8
TaskResult as TaskResult_ ,
@@ -63,20 +61,6 @@ import type {
63
61
RootAndTarget as RootAndTarget_ ,
64
62
TscErrorInfo as TscErrorInfo_ ,
65
63
} from '../typecheck/types'
66
- import type {
67
- Environment as Environment_ ,
68
- EnvironmentReturn as EnvironmentReturn_ ,
69
- ResolvedTestEnvironment as ResolvedTestEnvironment_ ,
70
- VmEnvironmentReturn as VmEnvironmentReturn_ ,
71
- } from '../types/environment'
72
- import type {
73
- ArgumentsType as ArgumentsType_ ,
74
- Arrayable as Arrayable_ ,
75
- Awaitable as Awaitable_ ,
76
- Constructable as Constructable_ ,
77
- MutableArray as MutableArray_ ,
78
- Nullable as Nullable_ ,
79
- } from '../types/general'
80
64
import type {
81
65
WorkerRPC as WorkerRPC_ ,
82
66
} from '../types/worker'
@@ -149,11 +133,6 @@ export type TaskResultPack = TaskResultPack_
149
133
/** @deprecated don't use `DoneCallback` since it's not supported */
150
134
export type DoneCallback = DoneCallback_
151
135
152
- /** @deprecated internal type, don't use it */
153
- export type RuntimeContext = RuntimeContext_
154
- /** @deprecated internal type, don't use it */
155
- export type SuiteHooks = SuiteHooks_
156
-
157
136
export type { AssertType } from '../typecheck/assertType'
158
137
export { expectTypeOf } from '../typecheck/expectTypeOf'
159
138
export type { ExpectTypeOf } from '../typecheck/expectTypeOf'
@@ -175,35 +154,13 @@ export type {
175
154
UserConsoleLog ,
176
155
} from '../types/general'
177
156
178
- /** @deprecated do not use, internal helper */
179
- export type Awaitable < T > = Awaitable_ < T >
180
- /** @deprecated do not use, internal helper */
181
- export type Nullable < T > = Nullable_ < T >
182
- /** @deprecated do not use, internal helper */
183
- export type Arrayable < T > = Arrayable_ < T >
184
- /** @deprecated do not use, internal helper */
185
- export type ArgumentsType < T > = ArgumentsType_ < T >
186
- /** @deprecated do not use, internal helper */
187
- export type MutableArray < T extends readonly any [ ] > = MutableArray_ < T >
188
- /** @deprecated do not use, internal helper */
189
- export type Constructable = Constructable_
190
-
191
157
export type {
192
158
RunnerRPC ,
193
159
RuntimeRPC ,
194
160
} from '../types/rpc'
195
161
196
162
export type { BrowserUI } from '../types/ui'
197
163
198
- /** @deprecated import from `vitest/environments` instead */
199
- export type EnvironmentReturn = EnvironmentReturn_
200
- /** @deprecated import from `vitest/environments` instead */
201
- export type VmEnvironmentReturn = VmEnvironmentReturn_
202
- /** @deprecated import from `vitest/environments` instead */
203
- export type Environment = Environment_
204
- /** @deprecated do not use it */
205
- export type ResolvedTestEnvironment = ResolvedTestEnvironment_
206
-
207
164
export type {
208
165
ContextRPC ,
209
166
ContextTestEnvironment ,
0 commit comments