The subclasses property are now optional

This commit is contained in:
Federico Caselli
2016-07-04 10:27:08 +02:00
committed by GitHub
parent 5c0c17c088
commit abe7af3825

15
mathjs/mathjs.d.ts vendored
View File

@@ -1333,14 +1333,15 @@ declare namespace mathjs {
export interface MathNode {
isNode: boolean;
isSymbolNode: boolean;
isConstantNode: boolean;
isOperatorNode: boolean;
op: string;
fn: string;
isSymbolNode?: boolean;
isConstantNode?: boolean;
isOperatorNode?: boolean;
op?: string;
fn?: string;
args?: MathNode[];
type: string;
name: string;
value: any;
name?: string;
value?: any;
compile(): EvalFunction;
eval(): any;