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.
		
		
		
		
		
			
		
			
				
					
					
						
							19 lines
						
					
					
						
							378 B
						
					
					
				
			
		
		
	
	
							19 lines
						
					
					
						
							378 B
						
					
					
				/**
 | 
						|
 * Mnemonist DefaultWeakMap Typings
 | 
						|
 * ================================
 | 
						|
 */
 | 
						|
export default class DefaultWeakMap<K extends object, V> {
 | 
						|
 | 
						|
  // Constructor
 | 
						|
  constructor(factory: (key: K) => V);
 | 
						|
 | 
						|
  // Methods
 | 
						|
  clear(): void;
 | 
						|
  set(key: K, value: V): this;
 | 
						|
  delete(key: K): boolean;
 | 
						|
  has(key: K): boolean;
 | 
						|
  get(key: K): V;
 | 
						|
  peek(key: K): V | undefined;
 | 
						|
  inspect(): any;
 | 
						|
}
 |