This commit is contained in:
DjDeveloperr 2021-01-25 19:00:58 +05:30
parent 0edc74b1db
commit 11fc7e1e21

View file

@ -81,8 +81,6 @@ export class Embed {
}
/** Set URL of the Embed */
setURL(url: string): Embed
setURL(url: URL): Embed
setURL(url: string | URL): Embed {
this.url = typeof url === 'object' ? url.toString() : url
return this