feat: Add common package * Add isEdge, safeTry and dataCache to new common package * Add eslint and move prettier config * Fix yarn lock * Clean up tests * Add lint-staged config to common * Add missing dependencies Approved-by: Joakim Jäderberg
7 lines
188 B
TypeScript
7 lines
188 B
TypeScript
import { type DataCache } from "../Cache"
|
|
import { createInMemoryCache } from "./InMemoryCache"
|
|
|
|
export function createMemoryCache(): Promise<DataCache> {
|
|
return createInMemoryCache()
|
|
}
|