bitburner-src/src/Documentation/root.ts

7 lines
190 B
TypeScript
Raw Normal View History

import Root from "./doc/index.md?raw";
2023-07-12 23:10:52 +02:00
import { AllPages } from "./pages";
export type Document = typeof Root;
2023-07-12 23:10:52 +02:00
export const getPage = (title: string): Document => AllPages[title] ?? Root;