knight-web 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/frame/base/AbstractObject.d.ts +1 -1
- package/frame/core/index.d.ts +1 -1
- package/index.js +9 -9
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ export declare abstract class AbstractObject<Props extends AbstractObjectProps =
|
|
|
27
27
|
/** 刷新 */
|
|
28
28
|
protected abstract OnUpdate(prevProps: Readonly<Props>, prevState: Readonly<Props>): void;
|
|
29
29
|
/** 提交渲染 */
|
|
30
|
-
protected abstract OnRender(): React.ReactElement;
|
|
30
|
+
protected abstract OnRender(props: Readonly<Props>): React.ReactElement;
|
|
31
31
|
}
|
|
32
32
|
/** 抽象属性接口 */
|
|
33
33
|
export declare abstract class AbstractObjectProps implements React.HTMLAttributes<HTMLDivElement>, React.ClassAttributes<HTMLDivElement> {
|
package/frame/core/index.d.ts
CHANGED