Compare commits

...

1 Commits

Author SHA1 Message Date
cbb2100ab7 Extendable TODO 2021-04-28 15:27:41 +02:00

View File

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