File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' electron-trpc ' : patch
3
+ ---
4
+
5
+ Fix server import from ipcLink.
Original file line number Diff line number Diff line change 1
- import { TRPCClientError , TRPCLink } from " @trpc/client" ;
2
- import { AnyRouter } from " @trpc/server" ;
3
- import { observable } from " @trpc/server/observable" ;
4
- import { IPCResponse } from " ../main" ;
5
- import { transformResult } from './utils'
1
+ import { TRPCClientError , TRPCLink } from ' @trpc/client' ;
2
+ import type { AnyRouter } from ' @trpc/server' ;
3
+ import { observable } from ' @trpc/server/observable' ;
4
+ import { IPCResponse } from ' ../main' ;
5
+ import { transformResult } from './utils' ;
6
6
7
7
export function ipcLink < TRouter extends AnyRouter > ( ) : TRPCLink < TRouter > {
8
8
return ( runtime ) =>
You can’t perform that action at this time.
0 commit comments