This commit is contained in:
Benjamin Pasero
2020-02-07 07:20:44 +01:00
parent bb3edc40e6
commit df3764ab52

View File

@@ -13,14 +13,15 @@
//
import * as vscode from 'vscode';
import { URL } from 'url';
import { TextEncoder, TextDecoder } from 'util';
declare const window: unknown;
declare const TextEncoder: any;
declare const TextDecoder: any;
declare const URL: any;
const textEncoder = new TextEncoder();
const SCHEME = 'memfs';
declare const window: unknown;
export function activate(context: vscode.ExtensionContext) {
if (typeof window !== 'undefined') { // do not run under node.js
const memFs = enableFs(context);