summaryrefslogtreecommitdiff
path: root/src/types/LallansIssue.d.ts
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-12 15:49:03 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-12 15:49:03 +0100
commit37020d847e66e57913d493716e98f4dcab749262 (patch)
treea6bfa0c49bcec61ff91465f323142db43511a122 /src/types/LallansIssue.d.ts
parent18b85566df437ac932f59e94cbec771a4a331927 (diff)
Applies Prettier
Diffstat (limited to 'src/types/LallansIssue.d.ts')
-rw-r--r--src/types/LallansIssue.d.ts26
1 files changed, 11 insertions, 15 deletions
diff --git a/src/types/LallansIssue.d.ts b/src/types/LallansIssue.d.ts
index d8339b1..86958f3 100644
--- a/src/types/LallansIssue.d.ts
+++ b/src/types/LallansIssue.d.ts
@@ -2,22 +2,18 @@ import type LallansIssueNumber from './LallansIssueNumber';
import type Price from './Price';
type LallansIssue = {
- issueNumber: LallansIssueNumber,
- issueName: string,
- price: Price,
+ issueNumber: LallansIssueNumber;
+ issueName: string;
+ price: Price;
description: {
- sco: string,
- 'en-GB': string,
- },
- coverArtist?: string,
- trackList?: string[],
-} & (
- { contributors: Contributor[] } |
- { contributions: Contribution[] } |
- Record<string, never>
-);
+ sco: string;
+ 'en-GB': string;
+ };
+ coverArtist?: string;
+ trackList?: string[];
+} & ({ contributors: Contributor[] } | { contributions: Contribution[] } | Record<string, never>);
export type Contributor = string;
-export type Contribution = { author?: string, title: string };
+export type Contribution = { author?: string; title: string };
-export default LallansIssue; \ No newline at end of file
+export default LallansIssue;