Update BaseComponent.d.ts

pull/4101/head^2
mertsincan 2023-07-06 12:59:21 +01:00
parent 439b7ee308
commit 546504c4e0
1 changed files with 9 additions and 0 deletions

View File

@ -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;
}