Skip to content

Commit 8156526

Browse files
committed
refactor(proxy): export type TraceResult
1 parent 42d7634 commit 8156526

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/proxy/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export { QueryToken, SelectorMeta } from '../storage/modules/QueryToken'
1+
export { QueryToken, SelectorMeta, TraceResult } from '../storage/modules/QueryToken'
22
export { ProxySelector } from '../storage/modules/ProxySelector'
33
export * from '../interface'

src/storage/modules/QueryToken.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class QueryToken<T> {
6262
const ops = diff(this.lastEmit, result, pk)
6363
return { result, ...ops }
6464
}),
65-
filter((xs) => xs.type !== OpsType.ShouldSkip),
65+
filter(({ type }) => type !== OpsType.ShouldSkip),
6666
tap(({ result }) => (this.lastEmit = result)),
6767
)
6868
}

0 commit comments

Comments
 (0)