const UserConfigSchema = scope({
config: type("string.json.parse").to({
// ERROR:
// "windowMeta" is unresolvable
windowMeta: "Record<string, windowMeta>",
}),
windowMeta: {
"position?": {
x: "number",
y: "number",
},
},
}).export();
const UserConfigSchema = scope({
config: type("string.json.parse").to({
// ERROR:
// "windowMeta" is unresolvable
windowMeta: "Record<string, windowMeta>",
}),
windowMeta: {
"position?": {
x: "number",
y: "number",
},
},
}).export();