mirror of
				https://github.com/Ukendio/jecs.git
				synced 2025-11-04 10:59:18 +00:00 
			
		
		
		
	Change meta type
This commit is contained in:
		
							parent
							
								
									45c12a842b
								
							
						
					
					
						commit
						98ffef93df
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								jecs.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								jecs.d.ts
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -246,7 +246,7 @@ export function component<T>(): Entity<T>;
 | 
				
			||||||
export function tag<T>(): Entity<T>;
 | 
					export function tag<T>(): Entity<T>;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// note: original types had id: Entity, id: Id<T>, which does not work with TS.
 | 
					// note: original types had id: Entity, id: Id<T>, which does not work with TS.
 | 
				
			||||||
export function meta<T>(e: Entity, id: Id<T>, value: T): Entity<T>
 | 
					export function meta<T>(e: Entity, id: Id<T>, value?: T): Entity<T>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function is_tag<T>(world: World, id: Id<T>): boolean;
 | 
					export function is_tag<T>(world: World, id: Id<T>): boolean;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue