Skip to content

Commit 64efed3

Browse files
authored
chore: use types without typo (#4229)
1 parent 08e9281 commit 64efed3

28 files changed

Lines changed: 118 additions & 190 deletions

package-lock.json

Lines changed: 67 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"clean-lib": "rimraf lib",
2727
"cspell": "cspell lint \"**/*.tsx\"",
2828
"dev": "vite --host localhost --port 3000 --open",
29-
"eslint": "eslint . --cache --max-warnings=126",
29+
"eslint": "eslint . --cache --max-warnings=102",
3030
"eslint-fix": "node --run eslint -- --fix",
3131
"install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start",
3232
"knip": "knip",
@@ -69,9 +69,9 @@
6969
"@tanstack/react-form": "^1.33.0",
7070
"@tanstack/react-store": "^0.11.0",
7171
"@tanstack/react-table": "^8.21.3",
72-
"@zakodium/nmr-types": "^0.5.14",
73-
"@zakodium/nmrium-core": "^0.7.31",
74-
"@zakodium/nmrium-core-plugins": "^0.7.40",
72+
"@zakodium/nmr-types": "^0.5.16",
73+
"@zakodium/nmrium-core": "^0.7.33",
74+
"@zakodium/nmrium-core-plugins": "^0.7.42",
7575
"@zakodium/pdnd-esm": "^1.1.0",
7676
"@zip.js/zip.js": "^2.8.26",
7777
"cheminfo-font": "^1.27.0",
@@ -97,7 +97,7 @@
9797
"ml-spectra-processing": "^14.29.1",
9898
"ml-tree-similarity": "^2.2.0",
9999
"nmr-correlation": "2.3.3",
100-
"nmr-processing": "^22.14.0",
100+
"nmr-processing": "^22.16.0",
101101
"numeral": "^2.0.6",
102102
"openchemlib": "^9.23.0",
103103
"openchemlib-utils": "^8.17.0",
@@ -113,7 +113,7 @@
113113
"react-ocl-nmr": "^4.1.1",
114114
"react-plot": "^3.1.2",
115115
"react-rnd": "^10.5.3",
116-
"react-science": "^20.1.0",
116+
"react-science": "^20.2.0",
117117
"react-table": "^7.8.0",
118118
"smart-array-filter": "^5.0.0",
119119
"ts-pattern": "^5.9.0",
@@ -146,11 +146,11 @@
146146
"eslint": "^9.39.2",
147147
"eslint-config-cheminfo-react": "^20.1.0",
148148
"eslint-config-cheminfo-typescript": "^22.1.0",
149-
"knip": "^6.21.0",
149+
"knip": "^6.23.0",
150150
"modern-normalize": "^3.0.1",
151-
"postcss": "^8.5.15",
151+
"postcss": "^8.5.16",
152152
"postcss-styled-syntax": "^0.7.2",
153-
"prettier": "^3.8.4",
153+
"prettier": "^3.9.1",
154154
"rc-menu": "^9.16.1",
155155
"react": "^18.3.1",
156156
"react-dom": "^18.3.1",

src/component/EventsTrackers/BrushTracker.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,7 @@ interface DetectBrushingThresholdSize {
533533
type BrushDetectionThresholdAxis = 'both' | 'x' | 'y';
534534

535535
type DetectBrushingOptions = { thresholdAxis?: BrushDetectionThresholdAxis } & (
536-
| DetectBrushingThreshold
537-
| DetectBrushingThresholdSize
536+
DetectBrushingThreshold | DetectBrushingThresholdSize
538537
);
539538

540539
export function detectBrushing(

0 commit comments

Comments
 (0)