aboutsummaryrefslogtreecommitdiff
path: root/src/js_parser.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/js_parser.zig')
-rw-r--r--src/js_parser.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js_parser.zig b/src/js_parser.zig
index 7fbb83065..c36915e05 100644
--- a/src/js_parser.zig
+++ b/src/js_parser.zig
@@ -197,6 +197,8 @@ const ScopeOrder = struct {
scope: *js_ast.Scope,
};
+pub const Result = js_ast.Result;
+
const ParenExprOpts = struct {
async_range: logger.Range = logger.Range.None,
is_async: bool = false,
@@ -348,8 +350,6 @@ pub const Parser = struct {
allocator: *std.mem.Allocator,
p: ?*P,
- pub const Result = struct { ast: js_ast.Ast, ok: bool = false };
-
pub const Options = struct {
jsx: options.JSX,
ts: bool = true,