Created
June 8, 2022 21:19
-
-
Save cjfswd/635c0184df572b600d70b3b2d20220d5 to your computer and use it in GitHub Desktop.
typescript singleton
This file contains 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
export namespace server { | |
export let database: { title: string, message: string }[] = [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment