fix(core): update
This commit is contained in:
parent
f6e6697244
commit
544f309dc9
@ -83,7 +83,11 @@ export class Smarturl implements IUrlObject {
|
||||
Object.assign(returnSmarturl, parsedUrl);
|
||||
return returnSmarturl;
|
||||
}
|
||||
public static createFromParsedUrl() {}
|
||||
public static createFromParsedUrl(parsedUrlArg: IUrlObject) {
|
||||
const returnSmarturl = new Smarturl();
|
||||
Object.assign(returnSmarturl, parsedUrlArg);
|
||||
return returnSmarturl;
|
||||
}
|
||||
|
||||
// INSTANCE
|
||||
href: string;
|
||||
|
Loading…
Reference in New Issue
Block a user