fix(web): correct type errors, improve build

(cherry picked from commit 4db3edadf4)
This commit is contained in:
vemoo 2025-08-30 22:51:41 +02:00 committed by ObserverOfTime
parent 59f3cb91c2
commit bb82b94ded
10 changed files with 1132 additions and 428 deletions

View file

@ -1,4 +1,4 @@
export {
export type {
Point,
Range,
Edit,
@ -7,8 +7,8 @@ export {
LogCallback,
} from './constants';
export {
ParseOptions,
ParseState,
type ParseOptions,
type ParseState,
LANGUAGE_VERSION,
MIN_COMPATIBLE_VERSION,
Parser,
@ -18,14 +18,14 @@ export { Tree } from './tree';
export { Node } from './node';
export { TreeCursor } from './tree_cursor';
export {
QueryOptions,
QueryState,
QueryProperties,
QueryPredicate,
QueryCapture,
QueryMatch,
type QueryOptions,
type QueryState,
type QueryProperties,
type QueryPredicate,
type QueryCapture,
type QueryMatch,
CaptureQuantifier,
PredicateStep,
type PredicateStep,
Query,
} from './query';
} from './query';
export { LookaheadIterator } from './lookahead_iterator';