Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ export class ResourceFetcher {
* @remarks
* **REQUIRED**: Used internally for reading configuration files (e.g., tokenizer configs).
*/
// Reference the class by name: `this` inside a static-field arrow gets
// rebound to module scope by Babel under RN's hermes transform profiles.
readAsString: async (path: string) => {
return this.getAdapter().readAsString(path);
return ResourceFetcher.getAdapter().readAsString(path);
},
};
}
Loading