Typescript all the parser things
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { traverse } from '/imports/parser/resolve';
|
||||
import traverse from '/imports/parser/traverse';
|
||||
|
||||
export default function linkCalculationDependencies(dependencyGraph, prop, { propsById }) {
|
||||
prop._computationDetails.calculations.forEach(calcObj => {
|
||||
|
||||
@@ -125,6 +125,6 @@ function parseCalculation(calcObj) {
|
||||
message: prettifyParseError(e),
|
||||
};
|
||||
calcObj.parseError = error;
|
||||
calcObj.parseNode = errorNode.create({ error });
|
||||
calcObj.parseNode = errorNode.create({ error: error.message });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user