Compare commits
1 Commits
develop
...
extendable
Author | SHA1 | Date | |
---|---|---|---|
cbb2100ab7 |
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user