Skip to content

Instantly share code, notes, and snippets.

@ygkn
Last active July 21, 2022 08:00
Show Gist options
  • Select an option

  • Save ygkn/84323aff4f386f22cbb0ff7b2e71e2a2 to your computer and use it in GitHub Desktop.

Select an option

Save ygkn/84323aff4f386f22cbb0ff7b2e71e2a2 to your computer and use it in GitHub Desktop.
少女☆歌劇 レヴュースタァライト in TypeScript

少女☆歌劇 レヴュースタァライト in TypeScript

type TendoMaya = StageGirl & { name: "天堂真矢" };
class StageGirl {
constructor(
public name: string,
public isTopStar: boolean,
) {}
assertTendoMaya(): this is TendoMaya {
return this.name === "天堂真矢"
}
}
import { Vector3 } from "three";
export const positionZero = new Vector3(0, 0, 0);
let dazzling = true;
while (dazzling) {
revival();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment