Skip to content

Commit ffa82e9

Browse files
committed
fix: lint
1 parent fd681d7 commit ffa82e9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/query.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// based on https://github.com/rocicorp/mono/tree/main/packages/zero-solid
22

3-
import type { Schema } from '@rocicorp/zero'
3+
import type { ResultType, Schema } from '@rocicorp/zero'
44
import type { AdvancedQuery, HumanReadable, Query } from '@rocicorp/zero/advanced'
55
import type { ComputedRef, MaybeRefOrGetter } from 'vue'
66

77
import { computed, getCurrentInstance, isRef, onUnmounted, shallowRef, toValue, watch } from 'vue'
8-
import { type QueryResultDetails, vueViewFactory } from './view'
8+
import { vueViewFactory } from './view'
99

1010
interface QueryResult<TReturn> {
1111
data: ComputedRef<HumanReadable<TReturn>>
12-
status: ComputedRef<QueryResultDetails['type']>
12+
status: ComputedRef<ResultType>
1313
}
1414

1515
export function useQuery<

src/view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { Change, Entry, Format, HumanReadable, Input, Output, Query, ViewFa
55
import { applyChange } from '@rocicorp/zero/advanced'
66
import { reactive } from 'vue'
77

8-
export interface QueryResultDetails {
8+
interface QueryResultDetails {
99
readonly type: ResultType
1010
}
1111

0 commit comments

Comments
 (0)