fix: add BlockData type
This commit is contained in:
parent
efd32a830b
commit
a93073caf9
1 changed files with 11 additions and 0 deletions
11
src/types.d.ts
vendored
11
src/types.d.ts
vendored
|
|
@ -32,3 +32,14 @@ interface DialogProps {
|
|||
close: () => void;
|
||||
}
|
||||
|
||||
type BlockData = Record<
|
||||
string,
|
||||
{
|
||||
name: string;
|
||||
version: string;
|
||||
id?: (string | number)[];
|
||||
fallable?: boolean;
|
||||
creative?: boolean;
|
||||
properties?: Record<string, string>;
|
||||
}
|
||||
>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue