mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
make timeoutMs a read only property (set only in constructor)
This commit is contained in:
@@ -10,7 +10,7 @@ export class TimedApiBasedRepositoryLoader {
|
||||
|
||||
constructor(
|
||||
public loader: RepositoryLoader,
|
||||
public timeoutMs: number = 10000,
|
||||
public readonly timeoutMs: number = 10000,
|
||||
) {
|
||||
this.startFetchDataAndUpdate = this.startFetchDataAndUpdate.bind(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user