From ca2d563f9d6b34db164175c0fba121e06610e135 Mon Sep 17 00:00:00 2001 From: Kyryl Riabov Date: Mon, 9 Sep 2024 10:05:43 +0300 Subject: [PATCH] Fixed types resolution --- src/ExtendedCircomParser.ts | 2 +- src/types.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 src/types.ts diff --git a/src/ExtendedCircomParser.ts b/src/ExtendedCircomParser.ts index 730282f..fee9efa 100644 --- a/src/ExtendedCircomParser.ts +++ b/src/ExtendedCircomParser.ts @@ -1,10 +1,10 @@ import { Token } from "antlr4"; import * as antlr4 from "antlr4"; +import { ParserErrorItem } from "./types"; import { CircomLexer, CircomParser } from "./generated"; import ErrorListener from "./errors/ErrorListener"; -import { ParserErrorItem } from "./types"; export class ExtendedCircomParser extends CircomParser { lexer: CircomLexer | null = null; diff --git a/src/types.ts b/src/types.ts new file mode 100644 index 0000000..4ca1e57 --- /dev/null +++ b/src/types.ts @@ -0,0 +1 @@ +export * from "./types/index";