move some types from dep to dev dependencies
This commit is contained in:
parent
8c33d89057
commit
56c4065abd
2
main.js
2
main.js
|
@ -825,7 +825,7 @@ async function requestShutdown() {
|
|||
// We'll wait two minutes, then force the app to go down. This can happen if someone
|
||||
// exits the app before we've set everything up in preload() (so the browser isn't
|
||||
// yet listening for these events), or if there are a whole lot of stacked-up tasks.
|
||||
// Note: two minutes is also our timeout for SQL tasks in data.js in the browser.
|
||||
// Note: two minutes is also our timeout for SQL tasks in data.ts in the browser.
|
||||
setTimeout(() => {
|
||||
console.log(
|
||||
'requestShutdown: Response never received; forcing shutdown.'
|
||||
|
|
14
package.json
14
package.json
|
@ -57,14 +57,6 @@
|
|||
"@journeyapps/sqlcipher": "https://github.com/scottnonnenberg-signal/node-sqlcipher.git#b10f232fac62ba7f8775c9e086bb5558fe7d948b",
|
||||
"@reduxjs/toolkit": "^1.4.0",
|
||||
"@sindresorhus/is": "0.8.0",
|
||||
"@types/blueimp-load-image": "^2.23.8",
|
||||
"@types/dompurify": "^2.0.0",
|
||||
"@types/emoji-mart": "^2.11.3",
|
||||
"@types/moment": "^2.13.0",
|
||||
"@types/rc-slider": "^8.6.5",
|
||||
"@types/react-mentions": "^3.3.1",
|
||||
"@types/react-mic": "^12.4.1",
|
||||
"@types/styled-components": "^5.1.4",
|
||||
"abort-controller": "3.0.0",
|
||||
"auto-bind": "^4.0.0",
|
||||
"backbone": "1.3.3",
|
||||
|
@ -138,6 +130,12 @@
|
|||
"devDependencies": {
|
||||
"@types/backbone": "^1.4.2",
|
||||
"@types/bytebuffer": "^5.0.41",
|
||||
"@types/blueimp-load-image": "^2.23.8",
|
||||
"@types/emoji-mart": "^2.11.3",
|
||||
"@types/moment": "^2.13.0",
|
||||
"@types/react-mentions": "^3.3.1",
|
||||
"@types/react-mic": "^12.4.1",
|
||||
"@types/styled-components": "^5.1.4",
|
||||
"@types/chai": "4.1.2",
|
||||
"@types/chai-as-promised": "^7.1.2",
|
||||
"@types/classnames": "2.2.3",
|
||||
|
|
|
@ -139,8 +139,8 @@ class SettingsViewInner extends React.Component<SettingsViewProps, State> {
|
|||
|
||||
const onClickFn =
|
||||
setting.onClick ||
|
||||
((value?: string) => {
|
||||
this.updateSetting(setting, value);
|
||||
((settingValue?: string) => {
|
||||
this.updateSetting(setting, settingValue);
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue