aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/types/node/@lezer-generator-rollup.d.ts
blob: dea39ec9b4ced5df9687598c4c3d2a13a264011a (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 { Plugin } from 'rollup';

  export function lezer(): Plugin;
}