Skip to content

Commit

Permalink
feat: TableRendererBase增加泛型 (#11467)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzh11012 authored Jan 8, 2025
1 parent 7921c21 commit eed74d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/amis/src/renderers/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,9 @@ export default class Table<
}
}

export class TableRendererBase extends Table {
export class TableRendererBase<
T extends TableProps = TableProps
> extends Table<T> {
receive(values: any, subPath?: string) {
const scoped = this.context as IScopedContext;

Expand Down

0 comments on commit eed74d9

Please sign in to comment.