From ec72fb3fafb5ba662de444551e23cc7750cae787 Mon Sep 17 00:00:00 2001 From: Lian Xun Date: Sat, 3 Apr 2021 15:52:18 +0800 Subject: [PATCH] fix: extends getApplication in @types/react-native --- packages/web-nextjs/@types/react-native.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/web-nextjs/@types/react-native.d.ts b/packages/web-nextjs/@types/react-native.d.ts index ef9e1f7..802c277 100644 --- a/packages/web-nextjs/@types/react-native.d.ts +++ b/packages/web-nextjs/@types/react-native.d.ts @@ -1,3 +1,5 @@ +import * as ReactNative from 'react-native' + declare module 'react-native' { namespace AppRegistry { function registerComponent(