mirror of
				https://github.com/Ukendio/jecs.git
				synced 2025-11-04 10:59:18 +00:00 
			
		
		
		
	Fix regression with set (#242)
This commit is contained in:
		
							parent
							
								
									8420d8832b
								
							
						
					
					
						commit
						150fccd2ce
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								jecs.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								jecs.d.ts
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -165,7 +165,7 @@ export class World {
 | 
			
		|||
	 * @param component The component definition (could be a Pair or Entity).
 | 
			
		||||
	 * @param value The value to store with that component.
 | 
			
		||||
	 */
 | 
			
		||||
	set<T>(entity: Entity, component: Id<T>, value: T): void;
 | 
			
		||||
	set<E extends Id<unknown>>(entity: Entity, component: E, value: InferComponent<E>): void;
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Cleans up the world by removing empty archetypes and rebuilding the archetype collections.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue