diff --git a/src/structs/types.ts b/src/structs/types.ts index 0a38842a..1881da5b 100644 --- a/src/structs/types.ts +++ b/src/structs/types.ts @@ -25,6 +25,7 @@ export function any(): Struct { * and it is preferred to using `array(any())`. */ +export function array>(Element: T, isReadonly: true): Struct>, T> export function array>(Element: T): Struct[], T> export function array(): Struct export function array>(Element?: T): any {