diff --git a/src/webapp-builtins/export/RequestDelay.js b/src/webapp-builtins/export/RequestDelay.js index f12720134..09a14cca9 100644 --- a/src/webapp-builtins/export/RequestDelay.js +++ b/src/webapp-builtins/export/RequestDelay.js @@ -101,12 +101,9 @@ export class RequestDelay extends BaseApplication { * @returns {IntfTimeSource} Accepted configuration value. */ _config_timeSource(value = null) { - // TODO: Check that a non-`null` `value` actually implements - // `IntfTimeSource`. - return (value === null) ? StdTimeSource.INSTANCE - : MustBe.object(value); + : MustBe.instanceOf(value, IntfTimeSource); } /** @override */