Skip to content

Commit

Permalink
[fix] type Ast css/instance/module properties as optional (sveltejs#7204
Browse files Browse the repository at this point in the history
)
  • Loading branch information
metonym authored and nevilm-lt committed Apr 21, 2022
1 parent 7c6cdf5 commit 524c594
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 524c594

Please sign in to comment.