Skip to content

Commit fb980f3

Browse files
committed
export SerializeSuccess
1 parent 5205616 commit fb980f3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/mdx/src/types/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
export type { SerializeOptions, SerializeResult } from 'next-mdx-remote-client/serialize';
1+
import type { SerializeOptions, SerializeResult } from 'next-mdx-remote-client/serialize';
2+
3+
type SerializeSuccess = Omit<SerializeResult, 'error'>;
4+
5+
export type { SerializeOptions, SerializeResult, SerializeSuccess };

packages/mdx/tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["src/**/*.ts", "src/**/*.tsx"]
3+
"include": ["src/**/*.ts", "src/**/*.tsx"]
44
}

0 commit comments

Comments
 (0)