@@ -8,7 +8,6 @@ import * as Mailbox from "effect/Mailbox"
88import type * as Scope from "effect/Scope"
99import * as Stream from "effect/Stream"
1010import type * as Unified from "unified"
11- import type * as Unist from "unist"
1211import * as Remove from "unist-util-remove"
1312import type { VFile } from "vfile"
1413import { ContentlayerError } from "./ContentlayerError.ts"
@@ -108,20 +107,11 @@ export class UnifiedOutput extends Context.Tag("@effect/contentlayer/SourcePlugi
108107 * @category unified
109108 */
110109export const unified = <
111- ParseTree extends Unist . Node ,
112- HeadTree extends Unist . Node ,
113- TailTree extends Unist . Node ,
114- CompileTree extends Unist . Node ,
115- Out extends Unified . CompileResults ,
116110 EX = never
117111> ( options : {
118112 readonly processor :
119- | Unified . Processor < ParseTree , HeadTree , TailTree , CompileTree , Out >
120- | Effect . Effect <
121- Unified . Processor < ParseTree , HeadTree , TailTree , CompileTree , Out > ,
122- EX ,
123- Source . Source . Provided | Scope . Scope
124- >
113+ | Unified . Processor
114+ | Effect . Effect < Unified . Processor , EX , Source . Source . Provided | Scope . Scope >
125115 readonly extractFields ?: ( ( vfile : VFile ) => Record < string , any > ) | undefined
126116} ) : < Meta , In , E > (
127117 source : Source . Source < Meta , In , E >
0 commit comments