these are really some kind of array I promise typescript
This commit is contained in:
		
							parent
							
								
									4b313d6dcd
								
							
						
					
					
						commit
						268f73a9ce
					
				| @ -77,8 +77,9 @@ const matchType: { [key: string]: IMatchInstructions } = { | ||||
|  * @returns Compiled keys. | ||||
|  */ | ||||
| function readKeys(fpath: string) { | ||||
|   return yaml | ||||
|   var keys: any = yaml | ||||
|     .safeLoad(fs.readFileSync(fpath, "utf8")) | ||||
|   return keys | ||||
|     .map(compileKey) | ||||
|     .filter(Boolean) as CompiledReplacer[]; | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user