File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * Get the instance ID
3
+ */
4
+ export function getId ( ) : string ;
5
+ export default FirebaseAppInstanceId ;
6
+ declare const FirebaseAppInstanceId : {
7
+ /**
8
+ * Get the instance ID
9
+ */
10
+ getId ( ) : string ;
11
+ } ;
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ import { NativeModules } from 'react-native'
2
2
3
3
const { FirebaseAppInstanceId } = NativeModules
4
4
5
+ /**
6
+ * Get the instance ID
7
+ * @return string
8
+ */
5
9
export function getId ( ) {
6
10
return FirebaseAppInstanceId . getId ( )
7
11
}
Original file line number Diff line number Diff line change 4
4
"version" : " 1.0.0" ,
5
5
"description" : " Access the firebase app instance ID" ,
6
6
"main" : " index.js" ,
7
+ "types" : " index.d.ts" ,
7
8
"scripts" : {
8
9
"test" : " echo \" Error: no test specified\" && exit 1"
9
10
},
Original file line number Diff line number Diff line change
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ typescript@^5.5.4 :
6
+ version "5.5.4"
7
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
8
+ integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
You can’t perform that action at this time.
0 commit comments