forked from MapComplete/MapComplete
		
	Better error handling
This commit is contained in:
		
							parent
							
								
									e5dbeee621
								
							
						
					
					
						commit
						ad3a776366
					
				
					 6 changed files with 106 additions and 78 deletions
				
			
		| 
						 | 
				
			
			@ -18,9 +18,12 @@ export default interface UnitConfigJson {
 | 
			
		|||
 | 
			
		||||
export interface ApplicableUnitJson {
 | 
			
		||||
    /**
 | 
			
		||||
     * The canonical value which will be added to the text.
 | 
			
		||||
     * The canonical value which will be added to the value in OSM.
 | 
			
		||||
     * e.g. "m" for meters
 | 
			
		||||
     * If the user inputs '42', the canonical value will be added and it'll become '42m'
 | 
			
		||||
     * If the user inputs '42', the canonical value will be added and it'll become '42m'.
 | 
			
		||||
     * 
 | 
			
		||||
     * Important: often, _no_ canonical values are expected, e.g. in the case of 'maxspeed' where 'km/h' is the default.
 | 
			
		||||
     * In this case, an empty string should be used
 | 
			
		||||
     */
 | 
			
		||||
    canonicalDenomination: string,
 | 
			
		||||
    /**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue