From e9367347481c12661eb80539bbe5d5806e0e8c03 Mon Sep 17 00:00:00 2001
From: David Dorchies <david.dorchies@irstea.fr>
Date: Fri, 12 Jul 2019 10:07:25 +0200
Subject: [PATCH] Solve mystery of CalculatorType needed in nub.ts for nghyd

---
 src/nub.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nub.ts b/src/nub.ts
index c19403f4..f28d621d 100644
--- a/src/nub.ts
+++ b/src/nub.ts
@@ -1,4 +1,4 @@
-import { CalculatorType, ComputeNode } from "./compute-node"; // nghyd build fails when commenting CalculatorType @WTF
+import { CalculatorType, ComputeNode } from "./compute-node";
 import { Dichotomie } from "./dichotomie";
 import { acSection, IParamDefinitionIterator, Pab, ParamDefinition, ParamsEquation,
          ParamsEquationArrayIterator, Session, Structure } from "./index";
@@ -99,7 +99,7 @@ export abstract class Nub extends ComputeNode implements IObservable {
         }
     }
 
-    public get calcType() {
+    public get calcType(): CalculatorType {
         return this._calcType;
     }
 
-- 
GitLab