This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

10 lines
323 B
TypeScript

import { Result } from "../result";
import { Type } from "../type";
export declare class SetType<V> extends Type<Set<V>> {
readonly valueType: Type<V>;
constructor(v: Type<V>);
check(val: any): Result<Set<V>>;
sliceResult(val: any): Result<Set<V>>;
}
export declare function set<V>(v: Type<V>): SetType<V>;