ngx-translate-multi-http-loader
Advanced tools
Comparing version 9.2.1 to 9.3.0
@@ -7,2 +7,3 @@ import { HttpBackend } from '@angular/common/http'; | ||
suffix?: string; | ||
optional?: boolean; | ||
} | ||
@@ -9,0 +10,0 @@ export declare class MultiTranslateHttpLoader implements TranslateLoader { |
{ | ||
"name": "ngx-translate-multi-http-loader", | ||
"version": "9.2.1", | ||
"version": "9.3.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Raphael Balet", |
@@ -86,2 +86,3 @@ # @ngx-translate/multi-http-loader [![npm version](https://img.shields.io/npm/v/ngx-translate-multi-http-loader.svg)](https://www.npmjs.com/package/ngx-translate-multi-http-loader) | ||
- `suffix: string = '.json'` | ||
- `optional: boolean = true` | ||
@@ -93,2 +94,3 @@ ```typescript | ||
{prefix: './assets/i18n/vendors/'}, // , "suffix: '.json'" being the default value | ||
{prefix: './assets/i18n/non-existent/', optional: true}, // Wont create any log | ||
]); | ||
@@ -95,0 +97,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20657
122
103