Make codebase comply to knip --strict (#33893)

* Make codebase comply to `knip --strict`

Deletes a few bits of dead code

* Trim i18n strings

* Fix missing export

* Remove test of dead code
This commit is contained in:
Michael Telatynski
2026-06-18 09:35:47 +00:00
committed by GitHub
parent 5de654636a
commit 7a1a3f518c
31 changed files with 64 additions and 1859 deletions
@@ -11,7 +11,10 @@ import { constructWidgetPermissions } from "./utils/constructWidgetPermissions";
import { matchPattern } from "./utils/matchPattern";
import { name as ModuleName } from "../package.json";
/** Subset of {@link WidgetLifecycleApi} used by the module for registration only. */
/**
* Subset of {@link WidgetLifecycleApi} used by the module for registration only.
* @internal
*/
export type WidgetLifecycleApiAdapter = Pick<
WidgetLifecycleApi,
"registerPreloadApprover" | "registerIdentityApprover" | "registerCapabilitiesApprover"