make getSize and input source public

This commit is contained in:
Yonatan Bendahan
2025-04-15 15:09:15 +03:00
parent 69751e8bfe
commit 9738329f73
9 changed files with 19 additions and 21 deletions
+2 -3
View File
@@ -20,8 +20,7 @@ export type InputOptions = {
* @public
*/
export class Input {
/** @internal */
_source: Source;
source: Source;
/** @internal */
_formats: InputFormat[];
/** @internal */
@@ -43,7 +42,7 @@ export class Input {
}
this._formats = options.formats;
this._source = options.source;
this.source = options.source;
this._mainReader = new Reader(options.source);
}