SourceBookOptionstype
Options of a view's source book.
Import it
import type { SourceBookOptions } from "@johnmorrisdotca/chikyu-earth/door";
Definition
interface SourceBookOptions {
kinds?: readonly ("tiles" | "records")[];
}
Members
| Name | Type | Description |
|---|---|---|
kinds (optional) | readonly ("records" | "tiles")[] | undefined | The kinds of source this view can draw: |
Examples
import type { SourceBookOptions } from "@johnmorrisdotca/chikyu-earth/door";
const options: SourceBookOptions = { kinds: ["tiles"] };
console.log(options.kinds);[ 'tiles' ]What it prints (run when this page was built)