Credittype
One source's part in the last drawn frame. *
Import it
import type { Credit } from "@johnmorrisdotca/hoshi-stars/door";
Definition
interface Credit {
source: SourceInfo;
own: boolean;
used: number;
}
Members
| Name | Type | Description |
|---|---|---|
source | SourceInfo | |
own | boolean | True for the package's own (bundled) data. |
used | number | The marks or tiles drawn from it. |
Examples
import type { Credit } from "./data-door.ts";
declare const info: import("./data-door.ts").SourceInfo;
const credit: Credit = { source: info, own: false, used: 12 };