Skip to content

Commit de0fc61

Browse files
committed
fix serialize success type
1 parent 7adb490 commit de0fc61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mdx/src/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SerializeOptions, SerializeResult } from 'next-mdx-remote-client/serialize';
22

3-
type SerializeSuccess = Omit<SerializeResult, 'error'>;
3+
type SerializeSuccess = SerializeResult & { compiledSource: string };
44

55
export type { SerializeOptions, SerializeResult, SerializeSuccess };

0 commit comments

Comments
 (0)