From 84faf214dd6ec5446ba02bd320536544c2464bdc Mon Sep 17 00:00:00 2001 From: milahu Date: Tue, 18 Oct 2022 10:22:47 +0200 Subject: [PATCH] fix: export ERR as ErrorCodes from error-codes.js --- packages/parse5/lib/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/parse5/lib/index.ts b/packages/parse5/lib/index.ts index 1388542de..6d81b9c3a 100644 --- a/packages/parse5/lib/index.ts +++ b/packages/parse5/lib/index.ts @@ -7,6 +7,7 @@ export { type DefaultTreeAdapterMap, defaultTreeAdapter } from './tree-adapters/ export type { TreeAdapter, TreeAdapterTypeMap } from './tree-adapters/interface.js'; export { type ParserOptions, /** @internal */ Parser } from './parser/index.js'; export { serialize, serializeOuter, type SerializerOptions } from './serializer/index.js'; +export { ERR as ErrorCodes } from './common/error-codes.js'; export type { ParserError } from './common/error-codes.js'; /** @internal */