File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
- import { ScryfallCard } from "../src" ;
2
- import { ScryfallObject } from "../src/objects/Object" ;
1
+ import { ScryfallCard , ScryfallObject } from "../src" ;
3
2
4
3
declare global {
5
4
type TestCard < T extends ScryfallObject . Object < ScryfallObject . ObjectType . Card > > = T & ScryfallCard . Any ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * This namespace defines the abstract base object property of all Scryfall objects.
3
+ */
1
4
export namespace ScryfallObject {
2
5
/**
3
6
* The type of object.
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ export * from "./Catalog";
3
3
export * from "./Error" ;
4
4
export * from "./List" ;
5
5
export * from "./Migration" ;
6
+ export * from "./Object" ;
6
7
export * from "./Ruling" ;
7
8
export * from "./Set" ;
8
9
export * from "./Symbology" ;
You can’t perform that action at this time.
0 commit comments