Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Scrapbox

import type { Scrapbox } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.10/deps/scrapbox.ts";

Type definition of window.scrapbox

type Scrapbox = EventEmitter & {
PageMenu: ExposedPageMenu;
PopupMenu: PopupMenu;
TimeStamp: TimeStamp;
Project: Project;
}
& ({
Layout: "page";
Page: Page<"page">;
}
| {
Layout: PartialLayout;
Page: Page<PartialLayout>;
}
)
;

§Type

§
EventEmitter & {
PageMenu: ExposedPageMenu;
PopupMenu: PopupMenu;
TimeStamp: TimeStamp;
Project: Project;
}
& ({
Layout: "page";
Page: Page<"page">;
}
| {
Layout: PartialLayout;
Page: Page<PartialLayout>;
}
)
[src]