Extendable TODO
This commit is contained in:
parent
91410b1a15
commit
cbb2100ab7
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user