Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
afshinm committed Jan 14, 2024
1 parent 2cb8849 commit a264b70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/grid.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from "react";
import { Component, createRef, RefObject } from "react";
import { Grid as Gridjs, UserConfig } from "gridjs";
import { Grid as Gridjs, Config } from "gridjs";

class Grid extends Component<Partial<UserConfig>, any> {
class Grid extends Component<Partial<Config>, any> {

Check warning on line 5 in src/grid.tsx

View workflow job for this annotation

GitHub Actions / build (14.x)

Unexpected any. Specify a different type

Check warning on line 5 in src/grid.tsx

View workflow job for this annotation

GitHub Actions / build (16.x)

Unexpected any. Specify a different type
private wrapper: RefObject<HTMLDivElement> = createRef();
// Grid.js instance
private readonly instance = null;
Expand Down
1 change: 0 additions & 1 deletion tests/grid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ describe("Grid component", () => {
columns={["a", "b", "c"]}
search={true}
pagination={{
enabled: true,
limit: 1,
}}
/>
Expand Down

0 comments on commit a264b70

Please sign in to comment.