mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
10 lines
144 B
JavaScript
10 lines
144 B
JavaScript
|
export default class User {
|
||
|
constructor(userId) {
|
||
|
this._userId = userId;
|
||
|
}
|
||
|
|
||
|
get id() {
|
||
|
return this._userId;
|
||
|
}
|
||
|
}
|