@cleanweb/react 1.1.1-beta.0 → 1.1.1-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/build/classy/class.d.ts +1 -1
- package/package.json +1 -1
package/build/classy/class.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { VoidFunctionComponent } from 'react';
|
2
2
|
import type { TComponentClass } from './logic';
|
3
3
|
import { ComponentInstance } from './instance';
|
4
|
-
type Extractor = <TComponent extends ClassComponent<object, object, object>>(this: TComponentClass<TComponent, typeof ClassComponent>, _Component?: TComponentClass<TComponent, typeof ClassComponent>) => VoidFunctionComponent
|
4
|
+
type Extractor = <TComponent extends ClassComponent<object, object, object>>(this: TComponentClass<TComponent, typeof ClassComponent>, _Component?: TComponentClass<TComponent, typeof ClassComponent>) => VoidFunctionComponent<TComponent['props']>;
|
5
5
|
export declare class ClassComponent<TState extends object = EmptyObject, TProps extends object = EmptyObject, THooks extends object = EmptyObject> extends ComponentInstance<TState, TProps, THooks> {
|
6
6
|
Render: VoidFunctionComponent<{}>;
|
7
7
|
static renderAs: 'component' | 'template';
|