8 lines
177 B
TypeScript
8 lines
177 B
TypeScript
function identity<Value>(value: Value): Value {
|
|
return value;
|
|
}
|
|
|
|
export function bypassThroughIdentityWrapper() {
|
|
return identity(globalThis).indexedDB.open("forbidden");
|
|
}
|