Try this:
let url = this.parseRequired(options.url, 'string', 'URL is required');
Without using one of the parse methods, it will only handle static values.
Here's a list that describes better:
Try this:
let url = this.parseRequired(options.url, 'string', 'URL is required');
Without using one of the parse methods, it will only handle static values.
Here's a list that describes better: