Skip to content

Commit

Permalink
feat(core): add simple TestCase type
Browse files Browse the repository at this point in the history
  • Loading branch information
codeandcats committed Oct 5, 2019
1 parent 9abd418 commit 1fa6a4f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,8 @@ export type DeepPartial<T> = {
? ReadonlyArray<DeepPartial<U2>>
: DeepPartial<T[P]>
};

export interface TestCase<TInput, TExpected> {
input: TInput;
expected: TExpected;
}

0 comments on commit 1fa6a4f

Please sign in to comment.