feat(Sequence)

This commit is contained in:
2025-08-08 11:28:49 +03:00
parent ebe15d2d05
commit c5c0c17db2
6 changed files with 153 additions and 1 deletions

7
types/Sequence.d.ts vendored Normal file
View File

@ -0,0 +1,7 @@
import { SerializableType, Type } from '.'
/**
* constructs type of heterogeneous array of arbitrary types. Even if item type is headless, it will be stored directly in the of sequence
* @returns {Type}
*/
export function Sequence(types: (SerializableType | SerializableType[])[]): Type