We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ImageURI
1 parent e6e46d6 commit 96596c2Copy full SHA for 96596c2
src/library/customTypes/UniformResourceIdentifier/Data/Image/index.ts
@@ -15,10 +15,8 @@ class ImageURI
15
extends DataURI {
16
public static readonly fileType = 'image';
17
18
- public readonly format: ImageURI_Format.Any;
19
-
20
public constructor(
21
- givenFormat: ImageURI_Format.Any,
+ public readonly format: ImageURI_Format.Any,
22
givenEncoding: DataURI_EncodingIdentifier.Any,
23
givenData: Base64CharacterEncodedByteSequence,
24
) {
@@ -27,7 +25,6 @@ class ImageURI
27
25
givenEncoding,
28
26
givenData,
29
);
30
- this.format = givenFormat;
31
}
32
33
public override get mediaType(): DataURI['mediaType'] {
0 commit comments