rsnext/packages/next-bundle-analyzer/index.d.ts
stefanprobst dc3bd761b4
fix: fix bundle-analyzer plugin types (#38255)
* chore: fix bundle-analyzer types

* Add test for bundle analyzer type

* fix lint

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2022-07-10 14:13:24 -05:00

8 lines
209 B
TypeScript

import type { NextConfig } from 'next'
declare const NextBundleAnalyzer =
(options?: { enabled?: boolean; openAnalyzer?: boolean }) =>
(config?: NextConfig) =>
NextConfig
export = NextBundleAnalyzer