@ethlete/core 5.0.0-next.2 → 5.0.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/types/ethlete-core.d.ts
CHANGED
|
@@ -701,7 +701,7 @@ declare class NormalizeMatchTypePipe implements PipeTransform {
|
|
|
701
701
|
declare const normalizeMatchType: (matchType: StageType | null | undefined) => Translatable | null;
|
|
702
702
|
|
|
703
703
|
declare class InferMimeTypePipe implements PipeTransform {
|
|
704
|
-
transform: (srcset: string) =>
|
|
704
|
+
transform: (srcset: string) => string | null;
|
|
705
705
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InferMimeTypePipe, never>;
|
|
706
706
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<InferMimeTypePipe, "inferMimeType", true>;
|
|
707
707
|
}
|
|
@@ -710,7 +710,7 @@ declare class InferMimeTypePipe implements PipeTransform {
|
|
|
710
710
|
* If a srcset is provided, it will infer the mime type of the first url in the srcset.
|
|
711
711
|
* If the srcset contains a query parameter `?fm=`, it will use the value of that parameter, since it is often used to specify the file format in image api's like contentful.
|
|
712
712
|
*/
|
|
713
|
-
declare const inferMimeType: (srcset: string) =>
|
|
713
|
+
declare const inferMimeType: (srcset: string) => string | null;
|
|
714
714
|
|
|
715
715
|
declare class ToArrayPipe implements PipeTransform {
|
|
716
716
|
transform: (value: number) => number[];
|