aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/types/node/@lezer-generator-rollup.d.ts
blob: ce89a44c48caeccf2a2e29b7121e2ec125c24175 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright (C) 2018 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
 * Copyright (C) 2021-2023 The Refinery Authors <https://refinery.tools/>
 *
 * SPDX-License-Identifier: MIT
 */

// We have to explicitly redeclare the type of the `./rollup` ESM export of `@lezer/generator`,
// because TypeScript can't find it on its own even with `"moduleResolution": "Node16"`.
declare module '@lezer/generator/rollup' {
  import type { PluginOptions } from 'vite';

  export function lezer(): PluginOptions;
}