rsnext/packages/next-bundle-analyzer/index.d.ts
Richard B 157655700a
fix: declare NextBundleAnalyzer as a type (#38168)
* fix: declare NextBundleAnalyzer as a type

* lint-fix

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2022-06-30 15:48:00 -05:00

8 lines
195 B
TypeScript

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