SaveHandles
SaveHandles<
Shape> =stringextends keyofShape?Readonly<Record<string,SaveHandle>> :{ readonly [Key in keyof Shape]: Shape[Key] extends SaveDeclaration<SaveSchema, infer Scopes> ? SaveHandle<Scopes[number]> : SaveHandle }
A plugin’s handle per save, by name, each typed by the scopes a game may keep it in, and any by name for a record built at run time.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
Shape |
SaveDeclarations |