Skip to content

Commit e361c4a

Browse files
committed
chore: lint
1 parent df9b874 commit e361c4a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

playground/ssr-react-streaming/src/root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function TestSuspense() {
4848
// use weak map to suspend for each server render
4949
const sleepPromiseMap = new WeakMap<object, Promise<void>>()
5050

51-
function Sleep(props: { context: {} }) {
51+
function Sleep(props: { context: object }) {
5252
if (typeof document !== 'undefined') {
5353
return <div>suspense-resolved</div>
5454
}

playground/ssr-react-streaming/vite.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import path from 'node:path'
2-
import { defineConfig, Manifest } from 'vite'
3-
import react from '@vitejs/plugin-react'
42
import fs from 'node:fs'
3+
import type { Manifest } from 'vite'
4+
import { defineConfig } from 'vite'
5+
import react from '@vitejs/plugin-react'
56

67
const CLIENT_ENTRY = path.join(import.meta.dirname, 'src/entry-client.jsx')
78
const SERVER_ENTRY = path.join(import.meta.dirname, 'src/entry-server.jsx')

0 commit comments

Comments
 (0)