From f9369b40b67a72af585b5f9534d246f74b06cd6a Mon Sep 17 00:00:00 2001 From: Robert Colley Date: Tue, 7 Dec 2021 16:20:03 -0500 Subject: [PATCH] fix: add non-null version to ReactNativeInfo --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 81f3080..e6ae9bc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -60,7 +60,7 @@ export class ReactNativeInfo implements DetectedInfo<'react-native', 'react-native', null, null> { public readonly type = 'react-native'; public readonly name: 'react-native' = 'react-native'; - public readonly version: null = null; + public readonly version: string = '1000.0.0'; // See react-native/package.json public readonly os: null = null; }