frontend-plugin-api: fix AnyExtensionDataMap type

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-13 20:06:18 +02:00
parent 75aba82d7d
commit 273151f30a
2 changed files with 7 additions and 2 deletions
@@ -21,7 +21,7 @@ import { BackstagePlugin } from './createPlugin';
/** @public */
export type AnyExtensionDataMap = {
[name in string]: ExtensionDataRef<any, any>;
[name in string]: ExtensionDataRef<unknown, { optional?: true }>;
};
/** @public */