Revert "Revert "Avoid using import x = require('...')""

This reverts commit 27256832f3 which turns out did not break the import of vs/nls
This commit is contained in:
Matt Bierner
2018-03-15 07:56:43 -07:00
parent a4cf2abe7e
commit ab1669f898
264 changed files with 675 additions and 699 deletions

View File

@@ -7,8 +7,8 @@
import { TPromise } from 'vs/base/common/winjs.base';
import { isBoolean, isNumber } from 'vs/base/common/types';
import https = require('https');
import http = require('http');
import * as https from 'https';
import * as http from 'http';
import { Stream } from 'stream';
import { parse as parseUrl } from 'url';
import { createWriteStream } from 'fs';