aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/types/highlight-js.d.ts
blob: d7bd0b50db5101cd98c1f364749568e80aee6b52 (plain)
1
2
3
4
5
6
7
8
9
10
declare module "highlight.js" {
  function getLanguage(
    name: string,
  ): string | undefined;

  function highlight(
    code: string,
    options: { language: string },
  ): { value: string };
}