chore: reformat all code with prettier
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
// TODO: `Object` has a toString(), but we should probably gate that off
|
||||
/// Interface for things that can be turned into strings
|
||||
export interface ToStringable {
|
||||
@@ -6,4 +5,4 @@ export interface ToStringable {
|
||||
}
|
||||
|
||||
/// A type for strings, or things that can (in a valid manner) be turned into strings
|
||||
export type StringLike = string | ToStringable;
|
||||
export type StringLike = string | ToStringable;
|
||||
|
||||
@@ -17,8 +17,8 @@ export type Size = {
|
||||
};
|
||||
|
||||
export type Rect = {
|
||||
x: number,
|
||||
y: number,
|
||||
width: number,
|
||||
height: number
|
||||
};
|
||||
x: number;
|
||||
y: number;
|
||||
width: number;
|
||||
height: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user