Update BaseComponent.d.ts
parent
439b7ee308
commit
546504c4e0
|
@ -12,3 +12,12 @@ export interface ComponentHooks {
|
||||||
export interface BaseComponentPassThroughOptions {
|
export interface BaseComponentPassThroughOptions {
|
||||||
hooks?: ComponentHooks;
|
hooks?: ComponentHooks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @todo Update all d.ts with it.
|
||||||
|
*/
|
||||||
|
export interface BaseComponentPassThroughMethodOptions<I = any, P = any, S = any> {
|
||||||
|
instance?: I | undefined | null;
|
||||||
|
props?: P | undefined | null;
|
||||||
|
state?: S | undefined | null;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue