summaryrefslogtreecommitdiff
path: root/packages/astro/src/compiler/codegen/interfaces.ts
blob: a487b85e9de3551a948ed18655f95b7d0bdba288 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import type { Expression, TemplateNode } from '@astrojs/parser';

export interface Attribute {
  start: number;
  end: number;
  type: 'Attribute' | 'Spread';
  name: string;
  value: TemplateNode[] | boolean;
  expression?: Expression;
}