Skip to content

Commit

Permalink
chore: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Dec 30, 2024
1 parent c1908de commit c2ce8de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/component-meta/tests/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,8 @@ const worker = (checker: ComponentMetaChecker, withTsconfig: boolean) => describ
expect(meta.type).toEqual(TypeMeta.Class);

const text = meta.props.find(prop => prop.name === 'text');
console.log(text)

expect(text?.default).toEqual('"foobar"')
expect(text?.default).toEqual('"foobar"');
})

test('reference-type-props-js', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/language-core/lib/codegen/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function collectIdentifiers(
node: ts.Node,
results: [id: ts.Identifier, isRest: boolean, initializer: ts.Expression | undefined][] = [],
isRest = false,
initializer: ts.Expression | undefined = undefined,
initializer: ts.Expression | undefined = undefined
) {
if (ts.isIdentifier(node)) {
results.push([node, isRest, initializer]);
Expand Down

0 comments on commit c2ce8de

Please sign in to comment.