chore: reworking a little more to simplify again

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-05-19 14:41:43 +02:00
parent ca185ff577
commit 5a6ba065ad
8 changed files with 19 additions and 39 deletions
@@ -20,7 +20,7 @@ import { BackstagePlugin, Extension } from '../plugin/types';
import { RouteRef, useRouteRef } from '../routing';
import { attachComponentData } from './componentData';
export type ComponentLoader<T> =
type ComponentLoader<T> =
| {
lazy: () => Promise<T>;
}