mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-10-31 12:03:39 +00:00 
			
		
		
		
	typescript: Complete most TypeScript todos.
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| import Tab from './tab'; | ||||
| import Tab, { TabProps } from './tab'; | ||||
|  | ||||
| export default class FunctionalTab extends Tab { | ||||
| 	$closeButton: Element; | ||||
| @@ -13,8 +13,7 @@ export default class FunctionalTab extends Tab { | ||||
| 				</div>`; | ||||
| 	} | ||||
|  | ||||
| 	// TODO: Typescript - This type for props should be TabProps | ||||
| 	constructor(props: any) { | ||||
| 	constructor(props: TabProps) { | ||||
| 		super(props); | ||||
| 		this.init(); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user