Skip to content

Commit e63975c

Browse files
committed
Undo incorrect default imports
1 parent 6507ac9 commit e63975c

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed

vscode-wpilib/src/cppprovider/apiprovider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
import * as jsonc from 'jsonc-parser';
4-
import mm from 'micromatch';
4+
import * as mm from 'micromatch';
55
import * as path from 'path';
66
import * as vscode from 'vscode';
77
import {

vscode-wpilib/src/docsapi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
import extract from 'extract-zip';
3+
import * as extract from 'extract-zip';
44
import * as path from 'path';
55
import * as vscode from 'vscode';
66
import { downloadFileToStream } from './fetchhelpers';

vscode-wpilib/src/java/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { readFile } from 'fs';
33
import { copyFile } from 'fs/promises';
44
import * as jsonc from 'jsonc-parser';
5-
import path from 'path';
5+
import * as path from 'path';
66
import * as vscode from 'vscode';
77
import { ICommandAPI, ICommandCreator, IPreferencesAPI } from '../api';
88
import { logger } from '../logger';

vscode-wpilib/src/shared/importupdater.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
'use strict';
22

33
import * as jsonc from 'jsonc-parser';
4-
import path from 'path';
4+
import * as glob from 'glob';
5+
import * as path from 'path';
56
import { logger } from '../logger';
67
import { readFileAsync } from '../utilities';
78
import { updateFileContents } from './fileUtils';
8-
import glob = require('glob');
99

1010
interface IReplaceGroup {
1111
from: string;

vscode-wpilib/src/shared/projectGeneratorUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

3+
import * as glob from 'glob';
34
import * as path from 'path';
4-
import glob = require('glob');
55
import { localize as i18n } from '../locale';
66
import { logger } from '../logger';
77
import { mkdirpAsync, ncpAsync, readFileAsync, writeFileAsync } from '../utilities';

vscode-wpilib/src/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22
import * as fs from 'fs';
3-
import mkdirp from 'mkdirp';
3+
import * as mkdirp from 'mkdirp';
44
import * as ncp from 'ncp';
55
import * as path from 'path';
66
import * as util from 'util';

vscode-wpilib/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"noUnusedLocals": true /* Report errors on unused locals. */,
1313
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
1414
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
15-
"noUnusedParameters": true /* Report errors on unused parameters. */,
16-
"esModuleInterop": true
15+
"noUnusedParameters": true /* Report errors on unused parameters. */
1716
},
1817
"exclude": ["node_modules", ".vscode-test", "out", "resources"]
1918
}

0 commit comments

Comments
 (0)