Skip to content

Commit be9b20b

Browse files
committed
[FIX] composer: fix import from lib
It should import our AST type, not AST from prettier, which btw is just an alias for `any` closes #7012 Task: 0 X-original-commit: ca76072 Signed-off-by: Vincent Schippefilt (vsc) <vsc@odoo.com> Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
1 parent f4607ea commit be9b20b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/composer/composer/abstract_composer_store.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { AST } from "prettier";
21
import { composerTokenize, EnrichedToken } from "../../../formulas/composer_tokenizer";
3-
import { iterateAstNodes, parseTokens } from "../../../formulas/parser";
2+
import { AST, iterateAstNodes, parseTokens } from "../../../formulas/parser";
43
import { POSTFIX_UNARY_OPERATORS } from "../../../formulas/tokenizer";
54
import { functionRegistry } from "../../../functions";
65
import { isEvaluationError, transposeMatrix } from "../../../functions/helpers";

0 commit comments

Comments
 (0)