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
3434 return this . _format ;
3535 }
3636
37- public override get mediaType ( ) : DataURI [ 'mediaType ' ] {
37+ public override get identifier ( ) : DataURI [ 'identifier ' ] {
3838 const computedMediaType = new MediaIdentifier (
3939 ImageURI . fileType ,
4040 null ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class DataURI
3232 this . _data = givenData ;
3333 }
3434
35- public get mediaType ( ) : Exclude < DataURI [ '_identifier' ] , null > {
35+ public get identifier ( ) : Exclude < DataURI [ '_identifier' ] , null > {
3636 if (
3737 this . _identifier === null
3838 ) return Attempt . abandon ( 'Media type either needs to be initialized or overridden' ) ;
@@ -66,7 +66,7 @@ class DataURI
6666
6767 public override get path ( ) : NonTrivialString {
6868 const orderedPathComponents = [
69- this . mediaType . serialized ,
69+ this . identifier . serialized ,
7070 this . serializableEncoding ,
7171 this . serializableData ,
7272 ] as const ;
You can’t perform that action at this time.
0 commit comments