Extendable TODO

This commit is contained in:
Alice Gaudon 2021-04-28 14:53:56 +02:00
parent 91410b1a15
commit cbb2100ab7

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;