Preview:```ts
export {}
let _storage = {
foo: "bar",
baz: 5,
}
type StorageType = typeof _storage
globalThis.storage = {
get(): StorageType {
return _storage
},
set(val: StorageType) {
_storage = val
},
}
declare global {
var storage: StorageType
...```
You can choose specific lines to embed by selecting them before copying the link.