diff --git a/packages/component-meta/tests/index.spec.ts b/packages/component-meta/tests/index.spec.ts index f513b866f9..521348a9d6 100644 --- a/packages/component-meta/tests/index.spec.ts +++ b/packages/component-meta/tests/index.spec.ts @@ -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', () => { diff --git a/packages/language-core/lib/codegen/utils/index.ts b/packages/language-core/lib/codegen/utils/index.ts index 3d9ae2f0b5..901e33ff7f 100644 --- a/packages/language-core/lib/codegen/utils/index.ts +++ b/packages/language-core/lib/codegen/utils/index.ts @@ -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]);