forked from MapComplete/MapComplete
		
	Docs: improve documentation of duplicates and UIEventSource
This commit is contained in:
		
							parent
							
								
									a9bfe4f37b
								
							
						
					
					
						commit
						b7a88ced70
					
				
					 2 changed files with 12 additions and 4 deletions
				
			
		|  | @ -669,7 +669,7 @@ export class UIEventSource<T> extends Store<T> implements Writable<T> { | |||
|         ) | ||||
|     } | ||||
| 
 | ||||
|     static asBoolean(stringUIEventSource: UIEventSource<string>) { | ||||
|     static asBoolean(stringUIEventSource: UIEventSource<string>): UIEventSource<boolean> { | ||||
|         return stringUIEventSource.sync( | ||||
|             (str) => str === "true", | ||||
|             [], | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue