Skip to content

Commit

Permalink
fix: optional
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX committed Dec 31, 2024
1 parent b651f9d commit e6cf455
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/language-core/lib/codegen/template/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ export interface TemplateCodegenOptions {
scriptSetupImportComponentNames: Set<string>;
destructuredPropNames: Set<string>;
templateRefNames: Set<string>;
hasDefineSlots: boolean;
slotsAssignName: string | undefined;
propsAssignName: string | undefined;
hasDefineSlots?: boolean;
slotsAssignName?: string;
propsAssignName?: string;
inheritAttrs: boolean;
selfComponentName: string | undefined;
selfComponentName?: string;
}

export function* generateTemplate(options: TemplateCodegenOptions): Generator<Code, TemplateCodegenContext> {
Expand Down

0 comments on commit e6cf455

Please sign in to comment.