Skip to content

feat: isolated decl #11181

feat: isolated decl

feat: isolated decl #11181

Triggered via push June 20, 2024 06:51
Status Failure
Total duration 1m 30s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint-and-test-dts: packages/compiler-core/src/transforms/transformElement.ts#L398
Declaration emit for this parameter requires implicitly adding undefined to it's type. This is not supported with --isolatedDeclarations.
lint-and-test-dts: packages/compiler-core/src/transforms/vBind.ts#L99
Function must have an explicit return type annotation with --isolatedDeclarations.
lint-and-test-dts: packages/reactivity/src/computed.ts#L41
Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
lint-and-test-dts: packages/reactivity/src/effect.ts#L72
Declaration emit for this parameter requires implicitly adding undefined to it's type. This is not supported with --isolatedDeclarations.
lint-and-test-dts: packages/reactivity/src/reactive.ts#L70
Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
lint-and-test-dts: packages/runtime-core/src/component.ts#L1133
Type 'ComponentPublicInstance | null' is not assignable to type 'Record<string, any> | undefined'.
lint-and-test-dts: packages/runtime-core/src/componentPublicInstance.ts#L259
Type 'Record<string, any> | undefined' is not assignable to type 'Record<string, any> | ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null'.
lint-and-test-dts: packages/runtime-core/src/directives.ts#L111
Type 'Record<string, any> | undefined' is not assignable to type 'Record<string, any> | ComponentPublicInstance | null'.
lint-and-test-dts: packages/runtime-core/src/index.ts#L389
Object literal may only specify known properties, and 'getComponentPublicInstance' does not exist in type '{ createComponentInstance: (vnode: VNode<RendererNode, RendererElement, { [key: string]: any; }>, parent: ComponentInternalInstance | null, suspense: SuspenseBoundary | null) => ComponentInternalInstance; ... 4 more ...; normalizeVNode: (child: VNodeChild) => VNode<...>; }'.
lint-and-test-dts: packages/runtime-core/src/renderer.ts#L2555
Function must have an explicit return type annotation with --isolatedDeclarations.