Skip to content

Commit

Permalink
feat(VaeSchema): 透出 options
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Sep 21, 2023
1 parent adb67f8 commit ca21a6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vae/VaeSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ export abstract class VaeSchema<T extends any = any> {
}
}

get options() {
return this._options
}

check(payload: VaeSchemaCheckPayload<T>) {
const index = payload.tag
? findIndex(
Expand Down

0 comments on commit ca21a6b

Please sign in to comment.