forked from MapComplete/MapComplete
		
	Fix import flow, add typing
This commit is contained in:
		
							parent
							
								
									97334fc369
								
							
						
					
					
						commit
						4246221e8e
					
				
					 29 changed files with 396 additions and 309 deletions
				
			
		|  | @ -75,8 +75,8 @@ export class DoesImageExist extends DesugaringStep<string> { | |||
|                 return {result: image}; | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         if (this._knownImagePaths !== undefined && !this._knownImagePaths.has(image)) { | ||||
|          | ||||
|         if (!this._knownImagePaths.has(image)) { | ||||
|             if (this.doesPathExist === undefined) { | ||||
|                 errors.push(`Image with path ${image} not found or not attributed; it is used in ${context}`) | ||||
|             } else if (!this.doesPathExist(image)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue