591 B
591 B
@backstage/config
0.1.4
Patch Changes
0434853a5: Reformulate the json types to break type recursion
0.1.3
Patch Changes
-
a1f5e6545: Adds an optional type toconfig.get&config.getOptional. This avoids the need for casting. For example:const config = useApi(configApiRef); const myConfig = config.get<SomeTypeDefinition>('myPlugin.complexConfig'); // vs const myConfig config.get('myPlugin.complexConfig') as SomeTypeDefinition;