Skip to content

Commit 16e6d5b

Browse files
committed
Don't do runtime casting for castToUsize
1 parent 1b65b45 commit 16e6d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react_bindings/react-bindings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ export function childrenToArray(children) {
8888
}
8989

9090
export function castToUsize(value) {
91-
return +value;
91+
return value;
9292
}

0 commit comments

Comments
 (0)