Skip to content

Commit

Permalink
fix: added docs around MyDomainResolver constructor method
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Nov 16, 2020
1 parent 90545af commit 68d8e52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/status/myDomainResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ export class MyDomainResolver extends AsyncOptionalCreatable<MyDomainResolver.Op

private options: MyDomainResolver.Options;

/**
* Constructor
* **Do not directly construct instances of this class -- use {@link MyDomainResolver.create} instead.**
*
* @param options The options for the class instance
*/
public constructor(options?: MyDomainResolver.Options) {
super(options);
this.options = options || { url: MyDomainResolver.DEFAULT_DOMAIN };
Expand Down

0 comments on commit 68d8e52

Please sign in to comment.