diff --git a/package.json b/package.json index 0e0bbf4..7b15594 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "@babel/plugin-transform-modules-commonjs": "^7.25.9", "@vitest/coverage-v8": "^2.1.5", "cheminfo-build": "^1.2.0", + "cheminfo-types": "^1.8.1", "codecov": "^3.8.3", "eslint": "^9.14.0", "eslint-config-cheminfo": "^12.0.1", diff --git a/src/spectrum/getNormalized.js b/src/spectrum/getNormalized.js index ccc3263..15b269b 100644 --- a/src/spectrum/getNormalized.js +++ b/src/spectrum/getNormalized.js @@ -4,7 +4,7 @@ import { xMinMaxValues, xyCheck } from 'ml-spectra-processing'; /** * * @private - * @param {DataXY} input + * @param {import('cheminfo-types').DataXY} input * @param {object} [options={}] * @param {number} [options.from=x[0]] * @param {number} [options.to=x[x.length-1]]