We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72927ca commit e9286feCopy full SHA for e9286fe
tests/types.test.ts
@@ -1,12 +1,6 @@
1
import { Expect, Equal } from '../src/types/helpers';
2
import { match, P } from '../src';
3
import { State, Event } from './types-catalog/utils';
4
-import {
5
- InvertPattern,
6
- InvertPatternForExclude,
7
-} from '../src/types/InvertPattern';
8
-import { Chainable, GuardP, NotP } from '../src/types/Pattern';
9
-import { ExtractPreciseValue } from '../src/types/ExtractPreciseValue';
10
11
describe('types', () => {
12
type Input = [State, Event];
@@ -157,7 +151,6 @@ describe('types', () => {
157
151
>;
158
152
return 'ok';
159
153
});
160
-
161
154
match<Input>({ type: 'hello' })
162
155
.with(P.not(P.when((x) => true)), (x) => {
163
156
type t = Expect<Equal<typeof x, Input>>;
0 commit comments