Skip to content

Commit

Permalink
fix(types): make sfc options partial
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 13, 2023
1 parent c256ea7 commit 9916f28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export interface StoreState {
}

export interface SFCOptions {
script?: Omit<SFCScriptCompileOptions, 'id'>
style?: SFCAsyncStyleCompileOptions
template?: SFCTemplateCompileOptions
script?: Partial<SFCScriptCompileOptions>
style?: Partial<SFCAsyncStyleCompileOptions>
template?: Partial<SFCTemplateCompileOptions>
}

export interface Store {
Expand Down

0 comments on commit 9916f28

Please sign in to comment.