Unverified Commit 15765570 authored by Richard B's avatar Richard B Committed by GitHub

fix: declare NextBundleAnalyzer as a type (#38168)

* fix: declare NextBundleAnalyzer as a type

* lint-fix
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent 2150d1ae
import type { NextConfig } from 'next'
const NextBundleAnalyzer =
(options?: { enabled?: boolean; openAnalyzer?: boolean }) =>
(config?: NextConfig) =>
NextConfig
type NextBundleAnalyzer = (options?: {
enabled?: boolean
openAnalyzer?: boolean
}) => (config?: NextConfig) => NextConfig
export = NextBundleAnalyzer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment