docker run --name recorder-redis -p 6379:6379 -d redis:alpine
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
| var User = /** @class */ (function () { | |
| function User(name, id) { | |
| this.name = name; | |
| this.id = id; | |
| } | |
| return User; | |
| }()); |
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
| class User { | |
| name: string; | |
| id: number; | |
| constructor(name: string, id: number) { | |
| this.name = name; | |
| this.id = id; | |
| } | |
| } |