(packageName: string)
| 73 | * @param packageName |
| 74 | */ |
| 75 | const getI18nBundle = async (packageName: string): Promise<I18nBundle> => { |
| 76 | if (customGetI18nBundle) { |
| 77 | return customGetI18nBundle(packageName); |
| 78 | } |
| 79 | |
| 80 | await fetchI18nBundle(packageName); |
| 81 | return getI18nBundleSync(packageName); |
| 82 | }; |
| 83 | |
| 84 | /** |
| 85 | * Allows developers to provide a custom getI18nBundle implementation |
no test coverage detected
searching dependent graphs…