Skip to content

Commit

Permalink
refactor: remove unused size property declaration (#7483)
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen authored Jun 11, 2024
1 parent fcd342c commit b81988c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ export class DataProviderController<TItem, TDataProviderParams extends Record<st
*/
dataProviderParams: () => TDataProviderParams;

/**
* A number of items in the root cache.
*/
size?: number;

/**
* A number of items to display per page.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ export class DataProviderController extends EventTarget {
*/
dataProviderParams;

/**
* A number of items in the root cache.
*
* @type {number}
*/
size;

/**
* A number of items to display per page.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ assertType<
// Properties
assertType<HTMLElement>(dataProviderController.host);
assertType<Cache<TestItem>>(dataProviderController.rootCache);
assertType<number | undefined>(dataProviderController.size);
assertType<number>(dataProviderController.pageSize);
assertType<(item: TestItem) => unknown>(dataProviderController.getItemId);
assertType<(item: TestItem) => boolean>(dataProviderController.isExpanded);
Expand Down

0 comments on commit b81988c

Please sign in to comment.