HttpServer working with GET routes
This commit is contained in:
@@ -163,4 +163,8 @@ export default class Assert {
|
||||
private static _isNumberInRange(value: unknown, lowerBound: number, upperBound: number): value is number {
|
||||
return Assert._isNumber(value) && value >= lowerBound && value <= upperBound;
|
||||
}
|
||||
|
||||
private constructor() {
|
||||
throw new Error('Assert is a static class that may not be instantiated');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user