diff --git a/packages/react-json-tree/package.json b/packages/react-json-tree/package.json index 83109a39..794eb26c 100644 --- a/packages/react-json-tree/package.json +++ b/packages/react-json-tree/package.json @@ -3,7 +3,7 @@ "version": "0.11.2", "description": "React JSON Viewer Component, Extracted from redux-devtools", "main": "lib/index.js", - "types": "dist/index.d.ts", + "types": "lib/index.d.ts", "scripts": { "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", diff --git a/packages/react-json-tree/src/ItemRange.tsx b/packages/react-json-tree/src/ItemRange.tsx index 14d1cf8e..fc5fd049 100644 --- a/packages/react-json-tree/src/ItemRange.tsx +++ b/packages/react-json-tree/src/ItemRange.tsx @@ -27,8 +27,6 @@ export default class ItemRange extends React.Component { constructor(props: Props) { super(props); this.state = { expanded: false }; - - this.handleClick = this.handleClick.bind(this); } render() {