Skip to content

Commit

Permalink
Enable more features for PG in JS mode (#12424)
Browse files Browse the repository at this point in the history
* Enable more features for PG in JS mode

* I HATE this formatting system..
  • Loading branch information
deltakosh committed Apr 22, 2022
1 parent 6f06463 commit fe16be4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/tools/playground/src/tools/monacoManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ class Playground {
typescript.javascriptDefaults.setCompilerOptions({
noLib: false,
allowNonTsExtensions: true, // required to prevent Uncaught Error: Could not find file: 'inmemory://model/1'.
allowJs: true,
});

typescript.javascriptDefaults.addExtraLib(libContent, "babylon.d.ts");
Expand Down

0 comments on commit fe16be4

Please sign in to comment.