From f3885f9dfa376edc305ba4fa4d98ae9f8a64cb67 Mon Sep 17 00:00:00 2001 From: Tomi Virkki Date: Mon, 11 Dec 2023 16:19:44 +0200 Subject: [PATCH] fix: align controller-mixin API visibility (#6951) --- packages/component-base/src/controller-mixin.d.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/component-base/src/controller-mixin.d.ts b/packages/component-base/src/controller-mixin.d.ts index c4e1d484f9..193365a3d8 100644 --- a/packages/component-base/src/controller-mixin.d.ts +++ b/packages/component-base/src/controller-mixin.d.ts @@ -4,7 +4,7 @@ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ */ import type { Constructor } from '@open-wc/dedupe-mixin'; -import type { ReactiveController, ReactiveControllerHost } from 'lit'; +import type { ReactiveController } from 'lit'; /** * A mixin for connecting controllers to the element. @@ -13,16 +13,14 @@ export declare function ControllerMixin>( superclass: T, ): Constructor & T; -export declare class ControllerMixinClass - implements Pick -{ +export declare class ControllerMixinClass { /** * Registers a controller to participate in the element update cycle. */ - addController(controller: ReactiveController): void; + protected addController(controller: ReactiveController): void; /** * Removes a controller from the element. */ - removeController(controller: ReactiveController): void; + protected removeController(controller: ReactiveController): void; }