mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	chore(app/share): port to TypeScript
This commit is contained in:
		
							parent
							
								
									c6730c5467
								
							
						
					
					
						commit
						3ed9528495
					
				| @ -3,7 +3,7 @@ | |||||||
|  * |  * | ||||||
|  * @param noteId of the given note to be fetched. If false, fetches current note. |  * @param noteId of the given note to be fetched. If false, fetches current note. | ||||||
|  */ |  */ | ||||||
| async function fetchNote(noteId = null) { | async function fetchNote(noteId: string | null = null) { | ||||||
|     if (!noteId) { |     if (!noteId) { | ||||||
|         noteId = document.body.getAttribute("data-note-id"); |         noteId = document.body.getAttribute("data-note-id"); | ||||||
|     } |     } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Panagiotis Papadopoulos
						Panagiotis Papadopoulos