Skip to content

Commit

Permalink
Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
jm-mailosaur committed Dec 1, 2021
1 parent 32708c6 commit 28c9e17
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/mailosaurCommands.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ declare global {
*/
href?: string;
/**
* The dispaly text of the link. This is particular useful for understanding how a
* The display text of the link. This is particular useful for understanding how a
* link was displayed within HTML content.
*/
text?: string;
Expand Down Expand Up @@ -70,7 +70,7 @@ declare global {
}

/**
* Describes a message attachmnent.
* Describes a message attachment.
*/
interface Attachment {
/**
Expand Down Expand Up @@ -271,7 +271,7 @@ declare global {
body?: string;
/**
* If set to `ALL` (default), then only results that match all specified criteria will be returned.
* If set to `ANY`, results that match any of the specified criteria will be returned
* If set to `ANY`, results that match any of the specified criteria will be returned.
*/
match?: "ALL" | "ANY";
}
Expand Down Expand Up @@ -425,17 +425,17 @@ declare global {
*/
itemsPerPage?: number,
/**
* When using the 'get' method, this option can be used to prevent an error being thrown if no matching message is found in time.
* When using the 'mailosaurGetMessage' method, this option can be used to prevent an error being thrown if no matching message is found in time.
*/
suppressError?: boolean
errorOnTimeout?: boolean
}

/**
* The result of an individual Spam Assassin rule
*/
interface SpamAssassinRule {
/**
* Spam Assassin score.
* Spam Assassin rule score.
*/
score?: number;
/**
Expand Down

0 comments on commit 28c9e17

Please sign in to comment.