Skip to content

Commit 4600fbd

Browse files
linting
1 parent 5d05df3 commit 4600fbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

node_package/src/ReactOnRailsRSC.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { ReactElement } from 'react';
21
// @ts-expect-error will define this module types later
32
import { renderToReadableStream } from 'react-server-dom-webpack/server.edge';
43
import { PassThrough } from 'stream';
@@ -29,7 +28,7 @@ const stringToStream = (str: string) => {
2928
const getBundleConfig = () => {
3029
const bundleConfig = JSON.parse(fs.readFileSync('./public/webpack/development/react-client-manifest.json', 'utf8'));
3130
// remove file:// from keys
32-
const newBundleConfig: { [key: string]: any } = {};
31+
const newBundleConfig: { [key: string]: unknown } = {};
3332
for (const [key, value] of Object.entries(bundleConfig)) {
3433
newBundleConfig[key.replace('file://', '')] = value;
3534
}

0 commit comments

Comments
 (0)