mirror of
				https://github.com/checktheroads/hyperglass
				synced 2024-05-11 05:55:08 +00:00 
			
		
		
		
	typing cleanup
This commit is contained in:
		@@ -31,6 +31,7 @@ type MDProps = {
 | 
			
		||||
  node: Dict;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/* eslint @typescript-eslint/no-explicit-any: off */
 | 
			
		||||
function hasNode<C>(p: any): p is C & MDProps {
 | 
			
		||||
  return 'node' in p;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user