Type '(this: TransformPluginContext, source: string, id: string) => { ast: any; code: string; map: SourceMap; } | undefined' is not assignable to type 'ObjectHook<(this: TransformPluginContext, code: string, id: string, options?: { ssr?: boolean | undefined; } | undefined) => TransformResult | Promise<...>> | undefined'.