refactor: move CustomElement interface to types.d.ts
This commit is contained in:
		
							parent
							
								
									5092552de2
								
							
						
					
					
						commit
						5344a58e10
					
				|  | @ -1,8 +1,3 @@ | ||||||
| interface CustomElement extends HTMLElement { |  | ||||||
| 	setState(key_path: string, value: unknown): void |  | ||||||
| 	getState(key_path: string): unknown |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| interface ComponentOptions { | interface ComponentOptions { | ||||||
| 	tag: string | 	tag: string | ||||||
| 	template: string | 	template: string | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								src/types.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/types.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | ||||||
|  | interface CustomElement extends HTMLElement { | ||||||
|  | 	setState(key_path: string, value: unknown): void | ||||||
|  | 	getState(key_path: string): unknown | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user