Skip to content

Commit b84d26c

Browse files
fix(bridge-react): remove unused TypeScript ignore directives
- Remove unused @ts-expect-error directives in createLazyComponent - Clean up TypeScript warnings from build process - Bridge-react tests still pass (17/17) - Addresses TypeScript compilation issues in CI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ca3daf6 commit b84d26c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/bridge/bridge-react/src/lazy/createLazyComponent.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,6 @@ export function createLazyComponent<T, E extends keyof T>(
350350
delayLoading={options.delayLoading}
351351
errorElement={options.fallback}
352352
>
353-
{/* @ts-expect-error ignore */}
354353
{(data) => <LazyComponent {...args} mfData={data} />}
355354
</AwaitDataFetch>
356355
);
@@ -404,7 +403,6 @@ export function createLazyComponent<T, E extends keyof T>(
404403
</>
405404
);
406405
}
407-
// @ts-expect-error ignore
408406
return <LazyComponent {...args} mfData={data} />;
409407
}
410408
};

0 commit comments

Comments
 (0)