mirror of
				https://github.com/Ukendio/jecs.git
				synced 2025-11-04 02:49:18 +00:00 
			
		
		
		
	Change generic to unknown
This commit is contained in:
		
							parent
							
								
									bf33748ecf
								
							
						
					
					
						commit
						4d6c2ccbb8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2373,7 +2373,7 @@ end
 | 
			
		|||
 | 
			
		||||
World.new = world_new
 | 
			
		||||
 | 
			
		||||
export type Entity<T = nil> = { __T: T }
 | 
			
		||||
export type Entity<T = unknown> = { __T: T }
 | 
			
		||||
export type Id<T = unknown> = { __T: T }
 | 
			
		||||
export type Pair<P, O> = Id<P>
 | 
			
		||||
type ecs_id_t<T=unknown> = Id<T> | Pair<T, "Tag"> | Pair<"Tag", T>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue