SetLike.d.ts 424 B

1234567891011121314
  1. declare global {
  2. class Set<T> {
  3. constructor(items?: T[]);
  4. add(value: T): this;
  5. clear(): void;
  6. delete(value: T): boolean;
  7. forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: unknown): void;
  8. has(value: T): boolean;
  9. readonly size: number;
  10. }
  11. }
  12. declare const _default: typeof Set;
  13. export default _default;
  14. //# sourceMappingURL=SetLike.d.ts.map