mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
types: added yup unique function type declare
This commit is contained in:
parent
e73cc4861c
commit
33a235c9f1
6
types/global.d.ts
vendored
Normal file
6
types/global.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import * as Yup from 'yup'
|
||||||
|
declare module 'yup' {
|
||||||
|
class ArraySchema extends Yup.array {
|
||||||
|
unique(format?: string): this
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user