Skip to content

Commit 5c39311

Browse files
committed
Fix seedrandom in packaged extension
Fixes #2971
1 parent f4431d2 commit 5c39311

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

editors/code/src/highlighting.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as vscode from 'vscode';
22
import * as lc from 'vscode-languageclient';
3-
import * as seedrandom_ from 'seedrandom';
4-
const seedrandom = seedrandom_; // https://github.com/jvandemo/generator-angular2-library/issues/221#issuecomment-355945207
3+
import seedrandom from 'seedrandom';
54

65
import { ColorTheme, TextMateRuleSettings } from './color_theme';
76

editors/code/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"noUnusedParameters": true,
1414
"noImplicitReturns": true,
1515
"noFallthroughCasesInSwitch": true,
16-
"newLine": "LF"
16+
"newLine": "LF",
17+
"esModuleInterop": true,
1718
},
1819
"exclude": [
1920
"node_modules"

0 commit comments

Comments
 (0)