Skip to content

Commit 19c6cbf

Browse files
committed
fix: export HistoryOptions type
1 parent 9e9e4b0 commit 19c6cbf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

core/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export default useConditionWatcher
33

44
export type {
55
VoidFn,
6+
HistoryOptions,
67
Conditions,
78
OnFetchErrorContext,
89
Config,

core/types.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Ref, UnwrapNestedRefs } from 'vue-demi'
22
import { Cache, HistoryOptions } from 'vue-condition-watcher/_internal'
33

4+
export type { HistoryOptions }
5+
46
export type VoidFn = () => void
57
export type Conditions<T> = {
68
[K in keyof T]: T[K]

0 commit comments

Comments
 (0)