Reference · Rules, generation and deductions
Leveltype
A difficulty level: easy, medium, hard or extra-hard.
Import it
import type { Level } from "@johnmorrisdotca/jirai";
Definition
type Level = "easy" | "medium" | "hard" | "extra-hard";
Examples
import type { Level } from "@johnmorrisdotca/jirai";
const value: Level = "extra-hard";
console.log(value);extra-hardWhat it prints (run when this page was built)