Skip to content

Commit 095324a

Browse files
committed
Export node in test client
1 parent df89122 commit 095324a

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

test-client/index.d.ts

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
import type { LoguxSubscribeAction, LoguxUnsubscribeAction } from '@logux/actions'
2-
import type { Action, AnyAction, TestLog, TestPair } from '@logux/core'
1+
import type {
2+
LoguxSubscribeAction,
3+
LoguxUnsubscribeAction
4+
} from '@logux/actions'
5+
import type {
6+
Action,
7+
AnyAction,
8+
TestLog,
9+
TestPair,
10+
ClientNode
11+
} from '@logux/core'
312

413
import type { ServerMeta } from '../base-server/index.js'
514
import type { TestServer } from '../test-server/index.js'
@@ -96,6 +105,11 @@ export class TestClient {
96105
*/
97106
pair: TestPair
98107

108+
/**
109+
* Logux node.
110+
*/
111+
node: ClientNode<object, TestLog<ServerMeta>>
112+
99113
/**
100114
* User ID.
101115
*

0 commit comments

Comments
 (0)