fix(core): switch from typings-global to @types/node

This commit is contained in:
2018-05-22 13:29:49 +02:00
parent 0430397e4f
commit 1498f6c2b2
8 changed files with 205 additions and 44 deletions

View File

@ -1,6 +1,9 @@
import 'typings-global'
import open = require('open')
import open = require('opn');
import { ChildProcess } from 'child_process';
export let openUrl = async (urlArg) => {
open(urlArg)
}
export let openUrl = async urlArg => {
const childProcess = await open(urlArg, {
wait: false
});
return childProcess;
};