Skip to content

Commit 694acd2

Browse files
committed
type
1 parent 678eefb commit 694acd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fre",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"type": "module",
55
"main": "dist/fre.js",
66
"unpkg": "dist/fre.umd.js",

src/reconcile.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const side = (effects?: HookEffect[]) => {
172172
effects.length = 0
173173
}
174174

175-
const diff = (aCh, bCh) => {
175+
const diff = (aCh:Fiber[], bCh:Fiber[]) => {
176176
let aHead = 0,
177177
bHead = 0,
178178
aTail = aCh.length - 1,

0 commit comments

Comments
 (0)