git » sdk » commit e6ad27f

TS didn't like generating a stub type for the other way

author Stephen Paul Weber
2026-05-25 03:28:50 UTC
committer Stephen Paul Weber
2026-05-25 03:28:50 UTC
parent a6dce8172714d510e5079dafd60e2f46b2bc935e

TS didn't like generating a stub type for the other way

borogove/persistence/MediaStoreCache.js +1 -1

diff --git a/borogove/persistence/MediaStoreCache.js b/borogove/persistence/MediaStoreCache.js
index 5cc645c..16a60cd 100644
--- a/borogove/persistence/MediaStoreCache.js
+++ b/borogove/persistence/MediaStoreCache.js
@@ -1,7 +1,7 @@
 // This example MediaStore is written in JavaScript
 // so that SDK users can easily see how to write their own
 
-export default (cacheName, { routeHashPath } = {}) => {
+export default (cacheName, { routeHashPath } = { routeHashPath: null }) => {
 	let cache = null; // Allow the definitions to be sync
 
 	function mkNiUrl(hashAlgorithm, hashBytes) {