use-country-info
Advanced tools
@@ -105,8 +105,12 @@ type TCountryInfo = { | ||
}; | ||
export const useCountryInfo: () => { | ||
allInfo: TCountryInfo[] | null; | ||
ddiInfo: TCallingInfo[] | null; | ||
contryflags: TFlags[] | null; | ||
declare const useCountryInfo: () => { | ||
allInfo: TCountryInfo[]; | ||
ddiInfo: TCallingInfo[]; | ||
contryflags: TFlags[]; | ||
setAllInfo: import("react").Dispatch<import("react").SetStateAction<TCountryInfo[]>>; | ||
setDDInfo: import("react").Dispatch<import("react").SetStateAction<TCallingInfo[]>>; | ||
setContryflags: import("react").Dispatch<import("react").SetStateAction<TFlags[]>>; | ||
}; | ||
export default useCountryInfo; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "use-country-info", | ||
"description": "use-country-info", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"license": "MIT", | ||
@@ -74,5 +74,2 @@ "author": "Erik Ferreira de Lima <erik.lima.f@outlook.com>", | ||
"@parcel/types": "^2.9.3", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@rollup/plugin-typescript": "^11.1.2", | ||
"@testing-library/react-hooks": "^8.0.1", | ||
"@types/jest": "^29.5.2", | ||
@@ -99,3 +96,2 @@ "@types/react": "^17.0.62", | ||
"react": "^18.2.0", | ||
"react-test-renderer": "^17.0.2", | ||
"style-loader": "^3.3.3", | ||
@@ -102,0 +98,0 @@ "ts-loader": "^9.4.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1613627
0.04%54
-6.9%28359
0.02%0
-100%