fix
This commit is contained in:
parent
0edc74b1db
commit
11fc7e1e21
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue