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

Mode

interface Mode {
unknown: <Section extends keyof Theme>(
section: Section,
key: string[] | undefined,
optional: boolean,
context: Context,
) => ThemeSectionType<Theme[Section]> | undefined | void
;
report(info: ReportInfo, context: Context): void;
}

§Properties

§
unknown: <Section extends keyof Theme>(section: Section, key: string[] | undefined, optional: boolean, context: Context) => ThemeSectionType<Theme[Section]> | undefined | void
[src]

Called for unknown theme values

§Methods

§
report(info: ReportInfo, context: Context): void
[src]

Notify error (missing plugin, duplicate directives? )

Why id?

  • can generate an url with more info
  • reduce bundle size by omitting large error messages