diff options
author | bjorn3 <[email protected]> | 2020-02-01 12:39:04 +0000 |
---|---|---|
committer | bjorn3 <[email protected]> | 2020-02-01 12:39:04 +0000 |
commit | 5c39311f9639543fe1dd2a67ec5aff757bb830eb (patch) | |
tree | 08568d061daf9a100631374743fdb747a16bd02b /editors/code | |
parent | f4431d2acc8e5dd25ed41c0c8af97050a7a230d1 (diff) |
Fix seedrandom in packaged extension
Fixes #2971
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/src/highlighting.ts | 3 | ||||
-rw-r--r-- | editors/code/tsconfig.json | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts index 014e96f75..fc7cd5a1c 100644 --- a/editors/code/src/highlighting.ts +++ b/editors/code/src/highlighting.ts | |||
@@ -1,7 +1,6 @@ | |||
1 | import * as vscode from 'vscode'; | 1 | import * as vscode from 'vscode'; |
2 | import * as lc from 'vscode-languageclient'; | 2 | import * as lc from 'vscode-languageclient'; |
3 | import * as seedrandom_ from 'seedrandom'; | 3 | import seedrandom from 'seedrandom'; |
4 | const seedrandom = seedrandom_; // https://github.com/jvandemo/generator-angular2-library/issues/221#issuecomment-355945207 | ||
5 | 4 | ||
6 | import { ColorTheme, TextMateRuleSettings } from './color_theme'; | 5 | import { ColorTheme, TextMateRuleSettings } from './color_theme'; |
7 | 6 | ||
diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index e60eb8e5e..1ea433961 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json | |||
@@ -13,7 +13,8 @@ | |||
13 | "noUnusedParameters": true, | 13 | "noUnusedParameters": true, |
14 | "noImplicitReturns": true, | 14 | "noImplicitReturns": true, |
15 | "noFallthroughCasesInSwitch": true, | 15 | "noFallthroughCasesInSwitch": true, |
16 | "newLine": "LF" | 16 | "newLine": "LF", |
17 | "esModuleInterop": true, | ||
17 | }, | 18 | }, |
18 | "exclude": [ | 19 | "exclude": [ |
19 | "node_modules" | 20 | "node_modules" |