Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
typo
  • Loading branch information
nighca committed Aug 23, 2021
commit c2786bf1413f573db274a979e7f9538e281cf5e0
4 changes: 2 additions & 2 deletions src/adapter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export function xify<T extends fs.ComposibleValidatable<any>>(state: T): Xify<T>
},
reset() { state.reset() },
resetWith(v: ValueOf<T>) { state.reset() },
set() { throw new Error('`set()` is supported.') },
onChange() { throw new Error('`onChange()` is supported.') },
set() { throw new Error('`set()` is not supported.') },
onChange() { throw new Error('`onChange()` is not supported.') },
dispose() {},
_dirtyWith(v: ValueOf<T>) { return getDirty(state) },
get dirty() { return getDirty(state) },
Expand Down