diff --git a/packages/frontend-plugin-api/src/components/ComponentRef.tsx b/packages/frontend-plugin-api/src/components/ComponentRef.tsx index 2db85b9a42..d096fa34f3 100644 --- a/packages/frontend-plugin-api/src/components/ComponentRef.tsx +++ b/packages/frontend-plugin-api/src/components/ComponentRef.tsx @@ -34,10 +34,7 @@ export function createComponentRef(options: { const { id } = options; return { id, - get T(): T { - throw new Error(`tried to read ComponentRef.T of ${id}`); - }, - }; + } as ComponentRef; } const coreProgressComponentRef = createComponentRef({