aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/types/node/@lezer-generator-rollup.d.ts
blob: 9c1ff03effa726dec1cd32244948343ed53947bf (plain) (blame)
1
2
3
4
5
6
7
// 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;
}