File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,6 +96,10 @@ const getCli = memoize(() => ({
9696 * @template {import("./module/NormalModule")} [TModule=import("./module/NormalModule")]
9797 * @typedef {import("./module/Parser").ParserState<TModule> } ParserState
9898 */
99+ /**
100+ * @template [T=import("./javascript/JavascriptParser").TagData]
101+ * @typedef {import("./javascript/JavascriptParser").Tag<T> } JavascriptParserTag
102+ */
99103/** @typedef {import("./resolve/ResolverFactory").ResolvePluginInstance } ResolvePluginInstance */
100104/** @typedef {import("./resolve/ResolverFactory").Resolver } Resolver */
101105/** @typedef {import("./template/Template").RenderManifestEntry } RenderManifestEntry */
Original file line number Diff line number Diff line change @@ -16043,10 +16043,10 @@ declare class JavascriptParser extends Parser<BuiltJavascriptModule> {
1604316043 >;
1604416044 currentTagData?:
1604516045 | object
16046- | TopLevelSymbol
1604716046 | ESMSettings
1604816047 | ImportSettings
1604916048 | CommonJsImportSettings
16049+ | TopLevelSymbol
1605016050 | CompatibilitySettings;
1605116051 magicCommentContext: ContextImport;
1605216052
@@ -17943,6 +17943,7 @@ declare interface JavascriptParserOptions {
1794317943type JavascriptParserState = ParserStateBase<BuiltJavascriptModule> &
1794417944 Record<string, any> &
1794517945 KnownJavascriptParserState;
17946+ type JavascriptParserTag<T = TagData> = symbol & { readonly __tagData?: T };
1794617947
1794717948/**
1794817949 * what the JavaScript `SourceProcessor` reads its source as, and prints it with
@@ -34164,10 +34165,10 @@ declare const TRANSITIVE_ONLY: unique symbol;
3416434165type Tag<T = TagData> = symbol & { readonly __tagData?: T };
3416534166type TagData =
3416634167 | object
34167- | TopLevelSymbol
3416834168 | ESMSettings
3416934169 | ImportSettings
3417034170 | CommonJsImportSettings
34171+ | TopLevelSymbol
3417134172 | CompatibilitySettings;
3417234173
3417334174/**
@@ -34177,10 +34178,10 @@ declare interface TagInfo {
3417734178 tag: Tag<TagData>;
3417834179 data?:
3417934180 | object
34180- | TopLevelSymbol
3418134181 | ESMSettings
3418234182 | ImportSettings
3418334183 | CommonJsImportSettings
34184+ | TopLevelSymbol
3418434185 | CompatibilitySettings;
3418534186 next?: TagInfo;
3418634187}
@@ -39886,6 +39887,7 @@ declare namespace exports {
3988639887 StatsOptions as MultiStatsOptions,
3988739888 ResolveData,
3988839889 ParserState,
39890+ JavascriptParserTag,
3988939891 ResolvePluginInstance,
3989039892 Resolver,
3989139893 RenderManifestEntry,
You can’t perform that action at this time.
0 commit comments