typescript: Switch to ES import/export syntax.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-03-04 17:08:51 -08:00
parent b3261bcdff
commit d3bcd7306a
50 changed files with 209 additions and 249 deletions

View File

@@ -1,7 +1,7 @@
import { remote } from 'electron';
import cryptoRandomString = require('crypto-random-string');
import ConfigUtil = require('./config-util');
import cryptoRandomString from 'crypto-random-string';
import * as ConfigUtil from './config-util';
const { shell } = remote;