|
делать ? думал есть решение пооптимальней.. num
внутри цикла буду делатьnum++
то всё равно время будет больше или меньше ... например 0.957 и 1.257 было только что . а мне хотелось бы видить стабильное время каждый раз ... eventTypes[key as string]
тоже ошибка . Conversion of type 'string' to type 'boolean' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first {
"name": "@quadrotech/ui-core",
"version": "18.10.0",
"versionComment": "Use only major and minor for the version. Patch will be automatically added on build before release in ADO",
"description": "Quadrotech NPM ui core library",
"main": "dist/index.js",
"module": "lib/index.js",
"scripts": {
"build": "ui-build build --max_old_space_size=8192",
"flow": "cross-env flow",
"prettier:fix": "cross-env prettier --write ./src/**/*.{jsx,js,ts,tsx}",
"start": "ui-build start",
"start:cypress": "cross-env CHOKIDAR_USEPOLLING=true REACT_APP_CI_TEST_URL=http://localhost:3000 REACT_APP_TEST_RUNNER=cypress ui-build start",
"start:renderer": "cross-env RENDERER_BUILD=true yarn start",
"component-test": "start-server-and-test start:cypress http://localhost:3000 cy:run",
"lint": "cross-env eslint --ext .js,.jsx,.ts,.tsx src/",
"test": "ui-build test --env=jest-environment-jsdom-sixteen --watchAll=false --collect-coverage",
"cy:open": "cypress open --browser chrome",
"cy:run": "cypress run",
"build:demo": "cross-env PUBLIC_URL=/ ui-build build --max_old_space_size=8192 --demo",
"postbuild": "ui-build copyDist && tsc --p tsconfig.emittypes.json",
"deps": "ui-build deps",
"fixdeprecatedmethods": "ui-build fixdeprecatedmethods",
"test:watch": "ui-build test --env=jest-environment-jsdom-sixteen --watchAll",
"analyze": "source-map-explorer 'dist/static/js/*.js'",
"adoVersion": "ui-build version",
"test:show-coverage": "ui-build test --env=jest-environment-jsdom-sixteen --watchAll=false --collect-coverage"
},
"repository": {
"type": "git",
"url": "git+https://quadroteam.visualstudio.com/Core%20User%20Interface/_git/ui-core-library"
},
"author": "Quadrotech <dan.clark@quadrotech-it.com>",
"bugs": {
"url": "https://quadroteam.visualstudio.com/Core%20User%20Interface/_queries"
},
"homepage": "https://quadroteam.visualstudio.com/Core%20User%20Interface/_wiki",
"license": "UNLICENSED",
"devDependencies": {
"@aspnet/signalr": "^1.1.4",
"@microsoft/applicationinsights-react-js": "^3.0.5",
"@microsoft/applicationinsights-web": "^2.5.10",
"@nivo/core": "^0.69.0",
"@nivo/heatmap": "^0.69.0",
"@nivo/sankey": "^0.69.0",
"@quadrotech/ui-build": "0.5.4",
"@redux-saga/symbols": "^1.0.1",
"@types/draft-js": "^0.11.2",
"@types/lodash": "^4.14.167",
"@types/recharts": "^1.8.18",
"array-move": "^2.1.0",
"axios": "^0.21.1",
"color": "^3.1.2",
"connected-react-router": "^6.5.0",
"copy-to-clipboard": "^3.2.0",
"core-js": "^3.1.4",
"cypress": "4.8.0",
"cypress-image-snapshot": "^3.1.1",
"downloadjs": "^1.4.7",
"draft-js": "^0.11.7",
"draft-js-clear-formatting": "^1.0.0",
"draft-js-export-html": "^1.3.3",
"draft-js-import-html": "^1.3.3",
"draftjs-utils": "^0.9.4",
"empty": "^0.10.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.4.3",
"history": "^4.9.0",
"i18next": "^19.8.2",
"immutability-helper": "^3.1.1",
"immutable": "3.8.2",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jwt-decode": "^2.2.0",
"leaflet": "^1.5.1",
"lodash": "^4.17.20",
"mockdate": "^2.0.5",
"moment": "^2.24.0",
"object-assign": "4.1.1",
"office-ui-fabric-react": "^7.115.2",
"oidc-client": "^1.8.0",
"polished": "^3.4.1",
"promise": "8.0.3",
"prop-types": "^15.7.2",
"raf": "3.4.1",
"rc-calendar": "^9.15.0",
"rc-time-picker": "^3.7.1",
"re-reselect": "^4.0.0",
"react": "^16.8.6",
"react-big-calendar": "^0.24.6",
"react-click-outside": "^3.0.1",
"react-contenteditable": "^3.3.1",
"react-dnd": "^11.1.3",
"react-dnd-html5-backend": "^11.1.3",
"react-dom": "^16.8.6",
"react-ga": "^2.5.7",
"react-grid-layout": "^1.1.1",
"react-i18next": "^11.8.13",
"react-leaflet": "^2.4.0",
"react-redux": "^7.1.0",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-smooth": "^1.0.0",
"react-table": "^6.10.0",
"recharts": "^1.6.2",
"redux": "^4.0.1",
"redux-mock-store": "^1.5.4",
"redux-oidc": "^3.1.2",
"redux-persist": "^5.10.0",
"redux-persist-transform-filter": "^0.0.18",
"redux-saga": "^1.0.3",
"redux-saga-tester": "^1.0.672",
"regenerator-runtime": "^0.13.2",
"reselect": "^4.0.0",
"start-server-and-test": "^1.10.11",
"striptags": "^3.1.1",
"styled-components": "^5.2.1",
"timezone-mock": "^1.0.12",
"tslib": "^2.1.0",
"url-polyfill": "^1.1.5",
"uuid": "^3.3.2",
"whatwg-fetch": "3.0.0"
},
"peerDependencies": {
"@aspnet/signalr": "^1.1.4",
"@microsoft/applicationinsights-react-js": "^3.0.5",
"@microsoft/applicationinsights-web": "^2.5.10",
"@nivo/core": "^0.69.0",
"@nivo/heatmap": "^0.69.0",
"@nivo/sankey": "^0.69.0",
"@redux-saga/symbols": "^1.0.1",
"@types/recharts": "^1.8.18",
"array-move": "^2.1.0",
"axios": "^0.21.1",
"color": "^3.1.0",
"connected-react-router": "^6.5.0",
"copy-to-clipboard": "^3.2.0",
"downloadjs": "^1.4.7",
"draft-js": "^0.11.7",
"draft-js-clear-formatting": "^1.0.0",
"draft-js-export-html": "^1.3.3",
"draft-js-import-html": "^1.3.3",
"draftjs-utils": "^0.9.4",
"fs-extra": "9.0.1",
"history": "^4.7.2",
"i18next": "^19.8.2",
"immutability-helper": "^3.0.1",
"jwt-decode": "^2.2.0",
"leaflet": "^1.5.1",
"lodash": "^4.17.20",
"moment": "^2.24.0",
"office-ui-fabric-react": "^7.115.2",
"oidc-client": "^1.8.0",
"polished": "^3.4.1",
"rc-calendar": "^9.15.0",
"rc-time-picker": "^3.7.1",
"re-reselect": "^4.0.0",
"react": "^16.8.6",
"react-big-calendar": "^0.24.6",
"react-click-outside": "^3.0.1",
"react-contenteditable": "^3.3.1",
"react-dnd": "^11.1.3",
"react-dnd-html5-backend": "^11.1.3",
"react-dom": "^16.8.6",
"react-ga": "^2.5.7",
"react-grid-layout": "^1.1.1",
"react-i18next": "^11.8.13",
"react-leaflet": "^2.4.0",
"react-redux": "^7.1.0",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-smooth": "^1.0.0",
"react-table": "^6.10.0",
"recharts": "^1.6.2",
"redux": "^4.0.1",
"redux-oidc": "^3.1.2",
"redux-persist": "^5.10.0",
"redux-persist-transform-filter": "^0.0.18",
"redux-saga": "^1.0.3",
"reselect": "^4.0.0",
"striptags": "^3.2.0",
"styled-components": "^5.2.1",
"use-constant": "^1.0.0",
"uuid": "^3.3.2"
},
"resolutions": {
"**/@typescript-eslint/eslint-plugin": "^4.5.0",
"**/@typescript-eslint/parser": "^4.5.0",
"**/eslint-plugin-react-hooks": "^4.2.0"
}
}