Use @types/rn-host-detect (#1066)

This commit is contained in:
Nathan Bierema 2022-01-29 15:02:05 -05:00 committed by GitHub
parent df059f9459
commit ec52b74770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -57,6 +57,7 @@
"@babel/preset-env": "^7.16.11", "@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7", "@babel/preset-typescript": "^7.16.7",
"@types/jsan": "^3.1.2", "@types/jsan": "^3.1.2",
"@types/rn-host-detect": "^1.2.0",
"@types/socketcluster-client": "^13.0.5", "@types/socketcluster-client": "^13.0.5",
"@typescript-eslint/eslint-plugin": "^5.10.0", "@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0", "@typescript-eslint/parser": "^5.10.0",

View File

@ -1,3 +0,0 @@
declare module 'rn-host-detect' {
export default function getHostForRN(hostname: string): string;
}

View File

@ -5054,6 +5054,7 @@ __metadata:
"@redux-devtools/instrument": ^2.1.0 "@redux-devtools/instrument": ^2.1.0
"@redux-devtools/utils": ^1.2.0 "@redux-devtools/utils": ^1.2.0
"@types/jsan": ^3.1.2 "@types/jsan": ^3.1.2
"@types/rn-host-detect": ^1.2.0
"@types/socketcluster-client": ^13.0.5 "@types/socketcluster-client": ^13.0.5
"@typescript-eslint/eslint-plugin": ^5.10.0 "@typescript-eslint/eslint-plugin": ^5.10.0
"@typescript-eslint/parser": ^5.10.0 "@typescript-eslint/parser": ^5.10.0
@ -7659,6 +7660,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/rn-host-detect@npm:^1.2.0":
version: 1.2.0
resolution: "@types/rn-host-detect@npm:1.2.0"
checksum: aa805faa3eeef20831bbcd8fb54a9a804f300d000c5c279d3a310f9f5d0c932c68734728564d4dd872c87b451defdc00451a1bdc842ae31abda10391e18b16e4
languageName: node
linkType: hard
"@types/sc-auth@npm:*": "@types/sc-auth@npm:*":
version: 5.0.0 version: 5.0.0
resolution: "@types/sc-auth@npm:5.0.0" resolution: "@types/sc-auth@npm:5.0.0"