mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update object.ts
This commit is contained in:
parent
773077470e
commit
fdba915288
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ export type ObjectDef<OpSc extends OptionsSchema = OptionsSchema> = {
|
|||
name: string;
|
||||
options: {
|
||||
schema: string extends keyof OpSc ? OptionsSchema : OpSc;
|
||||
default: string extends keyof OpSc ? RawOptions : GetRawOptionsSchemaValues<OpSc>;
|
||||
default: string extends keyof OpSc ? RawOptions : GetRawOptionsSchemaValues<OpSc>; // 関数にした方が使用側でdeepCloneの必要がなくて綺麗かもしれない
|
||||
};
|
||||
placement: 'top' | 'side' | 'bottom' | 'wall' | 'ceiling' | 'floor';
|
||||
hasCollisions?: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue