From c76c2c23c3bb0b8696bf1e80ac0cd0373622b1a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= <oli_r@fg4f.de>
Date: Thu, 31 Dec 2020 02:29:27 +0100
Subject: [PATCH] Fix jasmine imports/symbol visibility.

---
 spec/support/ds4rolls.spec.ts |  2 ++
 tsconfig.json                 | 15 ++++++++-------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/spec/support/ds4rolls.spec.ts b/spec/support/ds4rolls.spec.ts
index e729b6e..f56fa46 100644
--- a/spec/support/ds4rolls.spec.ts
+++ b/spec/support/ds4rolls.spec.ts
@@ -7,6 +7,8 @@ import {
 } from "../../src/module/rolls/roll-executor";
 import { RollProvider } from "../../src/module/rolls/roll-provider";
 
+import "jasmine";
+
 describe("DS4 Rolls with one die and no modifications.", () => {
     it("Should do a regular success roll.", () => {
         const rollProvider: RollProvider = jasmine.createSpyObj("rollProvider", ["getNextRoll"]);
diff --git a/tsconfig.json b/tsconfig.json
index 64707c3..f988dd5 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,7 +1,8 @@
-{
-    "compilerOptions": {
-        "target": "ES2017",
-        "lib": ["DOM", "ES6", "ES2017"],
-        "types": ["foundry-pc-types", "jasmine"]
-    }
-}
+{
+    "compilerOptions": {
+        "target": "ES2017",
+        "lib": ["DOM", "ES6", "ES2017"],
+        "types": ["foundry-pc-types"],
+        "esModuleInterop": true
+    }
+}