mirror of https://github.com/sveltejs/svelte
parent
f402d01454
commit
273fdfe1f7
@ -1,10 +1,12 @@
|
||||
import type { Scope } from '../scope.js';
|
||||
import type { SvelteNode, ValidatedModuleCompileOptions } from '#compiler';
|
||||
import type { Binding, SvelteNode, ValidatedModuleCompileOptions } from '#compiler';
|
||||
import type { Analysis } from '../types.js';
|
||||
import type { Expression, Identifier } from 'estree';
|
||||
|
||||
export interface TransformState {
|
||||
readonly analysis: Analysis;
|
||||
readonly options: ValidatedModuleCompileOptions;
|
||||
readonly scope: Scope;
|
||||
readonly scopes: Map<SvelteNode, Scope>;
|
||||
readonly getters: Map<Binding, Expression | ((id: Identifier) => Expression)>;
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue