Skip to content

Commit

Permalink
247 generic-column-types
Browse files Browse the repository at this point in the history
  • Loading branch information
johanrd authored Feb 21, 2024
1 parent ce5c7e4 commit f164b88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ember-headless-table/src/plugins/data-sorting/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ declare module 'ember-headless-table/plugins' {

export interface Signature<DataType = unknown> {
Meta: {
Column: ColumnMeta;
Table: TableMeta;
Column: ColumnMeta<DataType>;
Table: TableMeta<DataType>;
};
Options: {
Plugin: Options<DataType>;
Expand Down Expand Up @@ -92,8 +92,8 @@ export class Sorting<DataType = unknown> extends BasePlugin<Signature<DataType>>
};
}

export class ColumnMeta {
constructor(private column: Column) {}
export class ColumnMeta<DataType = unknown> {
constructor(private column: Column<DataType>) {}

@cached
get options() {
Expand Down

0 comments on commit f164b88

Please sign in to comment.