Skip to content

Commit

Permalink
fixed EntityColumnsFuncType generic
Browse files Browse the repository at this point in the history
  • Loading branch information
mmadariaga committed Apr 4, 2024
1 parent 8ebcd37 commit da63ce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@irontec/ivoz-ui",
"version": "1.3.1",
"version": "1.3.2",
"description": "UI library used in ivozprovider",
"license": "GPL-3.0",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion library/src/entities/EntityInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export type DetailedColumnSpec = {
};

export type EntityColumnsArrayType = Array<string | DetailedColumnSpec>;
export type EntityColumnsFuncType = <T extends IvozStoreState = IvozStoreState>(
export type EntityColumnsFuncType<T extends IvozStoreState = IvozStoreState> = (
store: T
) => Array<string | DetailedColumnSpec>;
export type EntityColumnsType = EntityColumnsArrayType | EntityColumnsFuncType;
Expand Down

0 comments on commit da63ce4

Please sign in to comment.