tfs-tada / eslint-plugin-no-excess-property

ESLint plugin to prevent excess properties in TypeScript objects, ensuring strict adherence to type definitions.
https://www.npmjs.com/package/eslint-plugin-no-excess-property?activeTab=readme
MIT License
3 stars 0 forks source link

fix: skip jsx key attr #37

Closed tfs-tada closed 5 months ago

tfs-tada commented 5 months ago
function Components(props: { name: string }) {
  return <div>{props.name}</div>;
}
const app = <Components name="taro" key={1} />; // ok