项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

12 rivejä
264 B

  1. export interface ISetCtor {
  2. new <T>(): ISet<T>;
  3. }
  4. export interface ISet<T> {
  5. add(value: T): void;
  6. has(value: T): boolean;
  7. size: number;
  8. clear(): void;
  9. }
  10. export declare function minimalSetImpl<T>(): ISetCtor;
  11. export declare const Set: ISetCtor;