Skip to content

Commit

Permalink
type vue test better
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Sep 5, 2023
1 parent 13b7f77 commit 74f166b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import <%= h.inflection.camelize(name, false) %> from './<%= h.inflection.cameli

describe('<<%= h.inflection.camelize(name, false) %>/>', () => {
function mountStory(
options: Parameters<typeof <%= h.inflection.camelize(name, false) %>>[0] = { id: '1' },
options: InstanceType<typeof <%= h.inflection.camelize(name, false) %>>['$props'] = { id: '1' },
) {
mount(() => <<%= h.inflection.camelize(name, false) %> {...options} />)
}
Expand Down

0 comments on commit 74f166b

Please sign in to comment.