Last active
July 21, 2022 08:00
-
-
Save ygkn/84323aff4f386f22cbb0ff7b2e71e2a2 to your computer and use it in GitHub Desktop.
少女☆歌劇 レヴュースタァライト in TypeScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type TendoMaya = StageGirl & { name: "天堂真矢" }; | |
| class StageGirl { | |
| constructor( | |
| public name: string, | |
| public isTopStar: boolean, | |
| ) {} | |
| assertTendoMaya(): this is TendoMaya { | |
| return this.name === "天堂真矢" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Vector3 } from "three"; | |
| export const positionZero = new Vector3(0, 0, 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let dazzling = true; | |
| while (dazzling) { | |
| revival(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment