File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -263,4 +263,8 @@ export const sksgHostConfig: SkiaHostConfig = {
263263 return DefaultEventPriority ;
264264 } ,
265265 resetFormInstance ( ) { } ,
266+
267+ // DefinitelyTyped is not up to date, these are needed for devtools
268+ rendererVersion : "0.0.1" ,
269+ rendererPackageName : "react-native-skia" ,
266270} ;
Original file line number Diff line number Diff line change @@ -13,11 +13,8 @@ import "./Elements";
1313
1414const skiaReconciler = ReactReconciler ( sksgHostConfig ) ;
1515
16- skiaReconciler . injectIntoDevTools ( {
17- bundleType : 1 ,
18- version : "0.0.1" ,
19- rendererPackageName : "react-native-skia" ,
20- } ) ;
16+ // @ts -expect-error DefinitelyTyped is not up to date
17+ skiaReconciler . injectIntoDevTools ( ) ;
2118
2219export class SkiaSGRoot {
2320 private root : OpaqueRoot ;
You canβt perform that action at this time.
0 commit comments