Skip to content

Commit

Permalink
[fix] type Ast css/instance/module properties as optional (#7204)
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym authored Feb 2, 2022
1 parent fc24704 commit b9325ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/compiler/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ export interface Style extends BaseNode {

export interface Ast {
html: TemplateNode;
css: Style;
instance: Script;
module: Script;
css?: Style;
instance?: Script;
module?: Script;
}

export interface Warning {
Expand Down

0 comments on commit b9325ed

Please sign in to comment.