Skip to content

Commit 4b610ee

Browse files
committed
fix: correct misleading types for functions
1 parent b2edee6 commit 4b610ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export type DatabaseCapture = {
136136
outputs: string // encrypted
137137

138138
calls: CapturedCall<CaptureInvocationWithLinks>[]
139-
functions: CapturedCall<CaptureInvocationWithLinks>[]
139+
functions: CapturedFunction<CaptureInvocationWithLinks>[]
140140

141141
error?: string // encrypted
142142
capturedUserId?: string
@@ -154,7 +154,7 @@ export type CaptureDecryptedAndRevived = Omit<
154154
'args' | 'outputs' | 'calls' | 'functions' | 'error'
155155
> & {
156156
calls: CapturedCall[]
157-
functions: CapturedCall[]
157+
functions: CapturedFunction[]
158158
error?: ErrorType
159159
}
160160

0 commit comments

Comments
 (0)