diff --git a/src/nub.ts b/src/nub.ts index c19403f4a01655e83f5ba0f40c65ba14050f68ab..f28d621d23fc157dfd5023bbb40b49fea54bbc67 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; }