Skip to content

Commit 5868488

Browse files
fix: apply enum for ruling source (#1)
1 parent bce5a78 commit 5868488

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/objects/Ruling/Ruling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type ScryfallRuling = ScryfallObject.Object<ScryfallObject.ObjectType.Rul
1414
/**
1515
* A computer-readable string indicating which company produced this ruling, either `wotc` or `scryfall`
1616
*/
17-
source: string;
17+
source: "wotc" | "scryfall";
1818
/**
1919
* The date when the ruling or note was published
2020
*/

0 commit comments

Comments
 (0)