Skip to content

Commit

Permalink
Upgrade typings
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Sep 8, 2018
1 parent 990a386 commit b614ed1
Show file tree
Hide file tree
Showing 4 changed files with 842 additions and 1,261 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,23 @@
"@types/form-data": "^2.2.1",
"@types/fs-extra": "^5.0.2",
"@types/glob": "^5.0.35",
"@types/html-webpack-plugin": "^2.30.3",
"@types/inquirer": "^0.0.41",
"@types/html-webpack-plugin": "^3.2.0",
"@types/inquirer": "^0.0.43",
"@types/listr": "^0.13.0",
"@types/lodash.merge": "^4.6.3",
"@types/lodash.template": "^4.4.3",
"@types/lodash.merge": "^4.6.4",
"@types/lodash.template": "^4.4.4",
"@types/log-symbols": "^2.0.0",
"@types/mime-types": "^2.1.0",
"@types/mocha": "^5.1.0",
"@types/node": "^9.6.5",
"@types/node-fetch": "^1.6.8",
"@types/node": "^10.9.4",
"@types/node-fetch": "^2.1.2",
"@types/opn": "^5.1.0",
"@types/ora": "^1.3.4",
"@types/pify": "^3.0.1",
"@types/pretty-ms": "^3.0.0",
"@types/pretty-ms": "^3.2.0",
"@types/proxyquire": "^1.3.28",
"@types/semver": "^5.5.0",
"@types/sinon": "^4.3.1",
"@types/sinon": "^5.0.2",
"@types/webpack": "^4.1.4",
"@types/webpack-dev-middleware": "^2.0.1",
"@types/webpack-hot-middleware": "^2.16.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/api/core/src/api/start.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'colors';
import { asyncOra } from '@electron-forge/async-ora';
import { StartOptions, ForgePlatform, ForgeArch } from '@electron-forge/shared-types';
import { spawn, ChildProcess } from 'child_process';
import { spawn, ChildProcess, SpawnOptions } from 'child_process';
import path from 'path';

import { readMutatedPackageJson } from '../util/read-package-json';
Expand Down Expand Up @@ -106,7 +106,7 @@ export default async ({
let spawned!: ChildProcess;

await asyncOra('Launching Application', async () => {
spawned = spawn(electronExecPath!, prefixArgs.concat([appPath]).concat(args as string[]), spawnOpts);
spawned = spawn(electronExecPath!, prefixArgs.concat([appPath]).concat(args as string[]), spawnOpts as SpawnOptions);
});

await runHook(forgeConfig, 'postStart', spawned);
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/async-ora/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "mocha --require ts-node/register test/**/*_spec.ts test/**/**/*_spec.ts --opts ../../../mocha.opts"
},
"devDependencies": {
"@types/pretty-ms": "^3.0.0",
"@types/pretty-ms": "^3.2.0",
"chai": "^4.0.0",
"mocha": "^5.0.0",
"proxyquire": "^2.0.1",
Expand Down
Loading

0 comments on commit b614ed1

Please sign in to comment.