Compare commits

...

1 Commits

Author SHA1 Message Date
Alice Gaudon cbb2100ab7 Extendable TODO 2021-04-28 15:27:41 +02:00
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
import {Type} from "./Utils";
/**
* TODO: add has() method
*/
export default interface Extendable<ComponentClass> {
as<C extends ComponentClass>(type: Type<C>): C;