()
| 24 | * Get the global storage instance (singleton) |
| 25 | */ |
| 26 | export function getStorage(): StorageAdapter { |
| 27 | if (!_storageInstance) { |
| 28 | _storageInstance = createStorageAdapter(); |
| 29 | } |
| 30 | return _storageInstance; |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Default export: the global storage instance |
no test coverage detected