1 | import type { PropertyKey } from "../index";
|
2 |
|
3 | declare function Set<O extends object, P extends PropertyKey>(
|
4 | O: O,
|
5 | P: P,
|
6 | V: P extends keyof O ? O[P] : unknown,
|
7 | Throw: true,
|
8 | ): true | never;
|
9 | declare function Set<O extends object, P extends PropertyKey>(
|
10 | O: O,
|
11 | P: P,
|
12 | V: P extends keyof O ? O[P] : unknown,
|
13 | Throw: boolean,
|
14 | ): boolean;
|
15 | export = Set;
|