Run prettier over everything
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
export type VNSceneMessage = {
|
||||
type: "message",
|
||||
text: string,
|
||||
sfx?: string,
|
||||
}
|
||||
type: "message";
|
||||
text: string;
|
||||
sfx?: string;
|
||||
};
|
||||
|
||||
export type VNSceneBasisPart = string | VNSceneMessage;
|
||||
export type VNSceneBasis = VNSceneBasisPart[];
|
||||
@ -12,11 +12,11 @@ export type VNScene = VNScenePart[];
|
||||
export function compile(basis: VNSceneBasis): VNScene {
|
||||
let out: VNScene = [];
|
||||
for (let item of basis.values()) {
|
||||
if (typeof item == 'string') {
|
||||
if (typeof item == "string") {
|
||||
out.push({
|
||||
type: "message",
|
||||
text: item,
|
||||
})
|
||||
});
|
||||
} else {
|
||||
out.push(item);
|
||||
}
|
||||
|
Reference in New Issue
Block a user