项目原始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.
 
 
 
 

11 lines
253 B

  1. export declare class MapPolyfill {
  2. size: number;
  3. private _values;
  4. private _keys;
  5. get(key: any): any;
  6. set(key: any, value: any): this;
  7. delete(key: any): boolean;
  8. clear(): void;
  9. forEach(cb: Function, thisArg: any): void;
  10. }