Skip to content

Commit

Permalink
feat: export types
Browse files Browse the repository at this point in the history
  • Loading branch information
revelt committed Aug 12, 2022
1 parent b0ba7a1 commit 9ad65cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/tap-parse-string-to-object/src/main.ts
Expand Up @@ -11,7 +11,7 @@ const version: string = v;

declare let DEV: boolean;

interface Res {
export interface Res {
ok: boolean;
assertsTotal: number;
assertsPassed: number;
Expand All @@ -21,7 +21,7 @@ interface Res {
suitesFailed: number;
}

interface StreamInterface extends NodeJS.ReadWriteStream {
export interface StreamInterface extends NodeJS.ReadWriteStream {
read(size?: number): any;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/tap-parse-string-to-object/types/index.d.ts
Expand Up @@ -15,4 +15,4 @@ declare function parseTap(
something: string | StreamInterface
): Res | Promise<Res>;

export { parseTap, version };
export { Res, StreamInterface, parseTap, version };

0 comments on commit 9ad65cb

Please sign in to comment.