mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
Fix types
This commit is contained in:
parent
b0bff52c4c
commit
a543142656
|
@ -70,7 +70,6 @@
|
|||
"@types/jsan": "^3.1.2",
|
||||
"@types/object-path": "^0.11.1",
|
||||
"@types/react": "^18.0.29",
|
||||
"@types/simple-diff": "^1.6.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
||||
"@typescript-eslint/parser": "^5.56.0",
|
||||
"eslint": "^8.36.0",
|
||||
|
|
|
@ -2,7 +2,7 @@ import React, { PureComponent, Component, ReactNode } from 'react';
|
|||
import { stringify } from 'javascript-stringify';
|
||||
import objectPath from 'object-path';
|
||||
import jsan from 'jsan';
|
||||
import diff, { Event } from 'simple-diff';
|
||||
import diff, { DiffEvent } from 'simple-diff';
|
||||
import es6template from 'es6template';
|
||||
import { Editor } from '@redux-devtools/ui';
|
||||
import { TabComponentProps } from '@redux-devtools/inspector-monitor';
|
||||
|
@ -30,7 +30,7 @@ export function compare<S>(
|
|||
) {
|
||||
const paths: string[] = []; // Already processed
|
||||
function generate(
|
||||
event: Event | { type: 'move-item'; newPath: (string | number)[] }
|
||||
event: DiffEvent | { type: 'move-item'; newPath: (string | number)[] }
|
||||
) {
|
||||
let curState: number | string | undefined;
|
||||
let path = fromPath(event.newPath);
|
||||
|
|
|
@ -1226,7 +1226,6 @@ importers:
|
|||
'@types/object-path': ^0.11.1
|
||||
'@types/prop-types': ^15.7.5
|
||||
'@types/react': ^18.0.29
|
||||
'@types/simple-diff': ^1.6.1
|
||||
'@typescript-eslint/eslint-plugin': ^5.56.0
|
||||
'@typescript-eslint/parser': ^5.56.0
|
||||
es6template: ^1.0.5
|
||||
|
@ -1276,7 +1275,6 @@ importers:
|
|||
'@types/jsan': 3.1.2
|
||||
'@types/object-path': 0.11.1
|
||||
'@types/react': 18.0.29
|
||||
'@types/simple-diff': 1.6.1
|
||||
'@typescript-eslint/eslint-plugin': 5.56.0_iskin7c6dxqunwflhstekcjqmq
|
||||
'@typescript-eslint/parser': 5.56.0_vgl77cfdswitgr47lm5swmv43m
|
||||
eslint: 8.36.0
|
||||
|
@ -8898,10 +8896,6 @@ packages:
|
|||
'@types/node': 18.15.10
|
||||
dev: false
|
||||
|
||||
/@types/simple-diff/1.6.1:
|
||||
resolution: {integrity: sha512-WrrrSBzFqKPi9v1tgWojfpw9N+kxBXftxK0Eo0C7iQ6KT/S/Vq1/H/XmSvhHmoUkFO7sE0/PVIHFqab7IJU7Xw==}
|
||||
dev: true
|
||||
|
||||
/@types/simple-element-resize-detector/1.3.0:
|
||||
resolution: {integrity: sha512-z89ForrCNg+4uwTHjwBCM9LjcsXYC/4O8u3tSi+82v2LCbfiYFpkjH/qQVkDewFBK6FUG7RRV7jw78EGs2maoQ==}
|
||||
dev: false
|
||||
|
|
Loading…
Reference in New Issue
Block a user