Skip to content

Commit

Permalink
Fix type for component registry components
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed May 3, 2024
1 parent ca286aa commit a60972d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/registry/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ module.exports = {
'plugin:import/recommended',
'plugin:import/typescript',
],
rules: {
'@typescript-eslint/no-explicit-any': 0,
},
},

// Node
Expand Down
2 changes: 1 addition & 1 deletion packages/registry/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export type ConfigData = {
};

type GetComponentResult = {
component: React.ComponentType;
component: React.ComponentType<any>;
};

export type ConfigType = InstanceType<typeof Config>;
Expand Down

0 comments on commit a60972d

Please sign in to comment.