File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/library/customTypes/UniformResourceIdentifier/Data Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class ImageURI
34
34
return this . _format ;
35
35
}
36
36
37
- public override get mediaType ( ) : DataURI [ 'mediaType ' ] {
37
+ public override get identifier ( ) : DataURI [ 'identifier ' ] {
38
38
const computedMediaType = new MediaIdentifier (
39
39
ImageURI . fileType ,
40
40
null ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class DataURI
32
32
this . _data = givenData ;
33
33
}
34
34
35
- public get mediaType ( ) : Exclude < DataURI [ '_identifier' ] , null > {
35
+ public get identifier ( ) : Exclude < DataURI [ '_identifier' ] , null > {
36
36
if (
37
37
this . _identifier === null
38
38
) return Attempt . abandon ( 'Media type either needs to be initialized or overridden' ) ;
@@ -66,7 +66,7 @@ class DataURI
66
66
67
67
public override get path ( ) : NonTrivialString {
68
68
const orderedPathComponents = [
69
- this . mediaType . serialized ,
69
+ this . identifier . serialized ,
70
70
this . serializableEncoding ,
71
71
this . serializableData ,
72
72
] as const ;
You can’t perform that action at this time.
0 commit comments