pull/15820/head
Rich Harris 4 months ago
parent fbf1b4e9fb
commit de015b04bc

@ -1,7 +1,6 @@
import type { Scope } from '../scope.js'; import type { Scope } from '../scope.js';
import type { ComponentAnalysis, ReactiveStatement } from '../types.js'; import type { ComponentAnalysis, ReactiveStatement } from '../types.js';
import type { AST, ExpressionMetadata, StateField, ValidatedCompileOptions } from '#compiler'; import type { AST, ExpressionMetadata, StateField, ValidatedCompileOptions } from '#compiler';
import type { ClassBody } from 'estree';
export interface AnalysisState { export interface AnalysisState {
scope: Scope; scope: Scope;
@ -20,7 +19,7 @@ export interface AnalysisState {
/** Information about the current expression/directive/block value */ /** Information about the current expression/directive/block value */
expression: ExpressionMetadata | null; expression: ExpressionMetadata | null;
/** Used to analyze class state. */ /** Used to analyze class state */
state_fields: Record<string, StateField> | null; state_fields: Record<string, StateField> | null;
function_depth: number; function_depth: number;

Loading…
Cancel
Save