From 3081e2edc300d6c3fe1e954617ac4ac21d0d48fc Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Thu, 13 Apr 2023 13:48:37 -0400 Subject: [PATCH] update line numbers in snapshots --- test/errors.test.ts | 234 ++++++++++++++++++++++---------------------- 1 file changed, 117 insertions(+), 117 deletions(-) diff --git a/test/errors.test.ts b/test/errors.test.ts index 2d3910b..2723873 100644 --- a/test/errors.test.ts +++ b/test/errors.test.ts @@ -18,9 +18,9 @@ test('toEqualTypeOf<...>() error message', async () => { 3 expectTypeOf({a: 1}).toEqualTypeOf<{a: string}>() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. " `) @@ -43,9 +43,9 @@ test('toMatchTypeOf<...>() error message', async () => { 3 expectTypeOf({a: 1}).toMatchTypeOf<{a: string}>() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:122:16 - 122 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:126:16 + 126 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. " `) @@ -58,9 +58,9 @@ test('toMatchTypeOf(...) error message', async () => { 3 expectTypeOf({a: 1}).toMatchTypeOf({a: 'one'}) ~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:123:36 - 123 (expected: Expected, ...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:127:36 + 127 (expected: Expected, ...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. " `) @@ -86,234 +86,234 @@ test('usage test', () => { 21 expectTypeOf({a: 1, b: 1}).toEqualTypeOf<{a: number}>() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:35:25 - error TS2554: Expected 1 arguments, but got 0. 35 expectTypeOf().toMatchTypeOf() ~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:122:16 - 122 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:126:16 + 126 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:38:25 - error TS2554: Expected 1 arguments, but got 0. 38 expectTypeOf().toEqualTypeOf() ~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:42:24 - error TS2554: Expected 2 arguments, but got 1. 42 expectTypeOf({a: 1}).toMatchTypeOf({b: 1}) ~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:123:36 - 123 (expected: Expected, ...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:127:36 + 127 (expected: Expected, ...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:51:25 - error TS2554: Expected 1 arguments, but got 0. 51 expectTypeOf().toMatchTypeOf() ~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:122:16 - 122 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:126:16 + 126 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:52:25 - error TS2554: Expected 1 arguments, but got 0. 52 expectTypeOf().toEqualTypeOf() ~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:61:25 - error TS2554: Expected 1 arguments, but got 0. 61 expectTypeOf().toBeNumber() ~~~~~~~~~~~~ - src/index.ts:113:16 - 113 toBeNumber: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:117:16 + 117 toBeNumber: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:65:43 - error TS2554: Expected 1 arguments, but got 0. 65 expectTypeOf<{deeply: {nested: any}}>().toEqualTypeOf<{deeply: {nested: unknown}}>() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:83:27 - error TS2554: Expected 1 arguments, but got 0. 83 expectTypeOf(undefined).toBeNullable() ~~~~~~~~~~~~~~ - src/index.ts:120:18 - 120 toBeNullable: (...MISMATCH: MismatchArgs, Branded>>, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:124:18 + 124 toBeNullable: (...MISMATCH: MismatchArgs, Options['branded']>>, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:87:22 - error TS2554: Expected 1 arguments, but got 0. 87 expectTypeOf(null).toBeNullable() ~~~~~~~~~~~~~~ - src/index.ts:120:18 - 120 toBeNullable: (...MISMATCH: MismatchArgs, Branded>>, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:124:18 + 124 toBeNullable: (...MISMATCH: MismatchArgs, Options['branded']>>, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:90:33 - error TS2554: Expected 1 arguments, but got 0. 90 expectTypeOf<1 | undefined>().toBeNullable() ~~~~~~~~~~~~~~ - src/index.ts:120:18 - 120 toBeNullable: (...MISMATCH: MismatchArgs, Branded>>, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:124:18 + 124 toBeNullable: (...MISMATCH: MismatchArgs, Options['branded']>>, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:91:28 - error TS2554: Expected 1 arguments, but got 0. 91 expectTypeOf<1 | null>().toBeNullable() ~~~~~~~~~~~~~~ - src/index.ts:120:18 - 120 toBeNullable: (...MISMATCH: MismatchArgs, Branded>>, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:124:18 + 124 toBeNullable: (...MISMATCH: MismatchArgs, Options['branded']>>, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:92:40 - error TS2554: Expected 1 arguments, but got 0. 92 expectTypeOf<1 | undefined | null>().toBeNullable() ~~~~~~~~~~~~~~ - src/index.ts:120:18 - 120 toBeNullable: (...MISMATCH: MismatchArgs, Branded>>, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:124:18 + 124 toBeNullable: (...MISMATCH: MismatchArgs, Options['branded']>>, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:96:19 - error TS2554: Expected 1 arguments, but got 0. 96 expectTypeOf(1).toBeUnknown() ~~~~~~~~~~~~~ - src/index.ts:108:17 - 108 toBeUnknown: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:112:17 + 112 toBeUnknown: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:97:19 - error TS2554: Expected 1 arguments, but got 0. 97 expectTypeOf(1).toBeAny() ~~~~~~~~~ - src/index.ts:107:13 - 107 toBeAny: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:111:13 + 111 toBeAny: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:98:19 - error TS2554: Expected 1 arguments, but got 0. 98 expectTypeOf(1).toBeNever() ~~~~~~~~~~~ - src/index.ts:109:15 - 109 toBeNever: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:113:15 + 113 toBeNever: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:99:19 - error TS2554: Expected 1 arguments, but got 0. 99 expectTypeOf(1).toBeNull() ~~~~~~~~~~ - src/index.ts:118:14 - 118 toBeNull: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:122:14 + 122 toBeNull: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:100:19 - error TS2554: Expected 1 arguments, but got 0. 100 expectTypeOf(1).toBeUndefined() ~~~~~~~~~~~~~~~ - src/index.ts:119:19 - 119 toBeUndefined: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:123:19 + 123 toBeUndefined: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:101:19 - error TS2554: Expected 1 arguments, but got 0. 101 expectTypeOf(1).toBeNullable() ~~~~~~~~~~~~~~ - src/index.ts:120:18 - 120 toBeNullable: (...MISMATCH: MismatchArgs, Branded>>, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:124:18 + 124 toBeNullable: (...MISMATCH: MismatchArgs, Options['branded']>>, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:106:35 - error TS2554: Expected 1 arguments, but got 0. 106 expectTypeOf().toMatchTypeOf() ~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:122:16 - 122 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:126:16 + 126 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:130:71 - error TS2554: Expected 2 arguments, but got 1. 130 expectTypeOf>().exclude().toHaveProperty('xxl') ~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:133:5 - 133 ...MISMATCH: MismatchArgs, B> - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:137:5 + 137 ...MISMATCH: MismatchArgs, Options['positive']> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:147:21 - error TS2554: Expected 2 arguments, but got 1. 147 expectTypeOf(obj).toHaveProperty('c') ~~~~~~~~~~~~~~~~~~~ - src/index.ts:133:5 - 133 ...MISMATCH: MismatchArgs, B> - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:137:5 + 137 ...MISMATCH: MismatchArgs, Options['positive']> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:152:41 - error TS2554: Expected 1 arguments, but got 0. 152 expectTypeOf(obj).toHaveProperty('a').toBeString() ~~~~~~~~~~~~ - src/index.ts:114:16 - 114 toBeString: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:118:16 + 118 toBeString: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:159:27 - error TS2554: Expected 1 arguments, but got 0. 159 expectTypeOf().toEqualTypeOf() ~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:179:19 - error TS2554: Expected 1 arguments, but got 0. 179 expectTypeOf(f).toBeAny() ~~~~~~~~~ - src/index.ts:107:13 - 107 toBeAny: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:111:13 + 111 toBeAny: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:180:27 - error TS2554: Expected 1 arguments, but got 0. 180 expectTypeOf(f).returns.toBeAny() ~~~~~~~~~ - src/index.ts:107:13 - 107 toBeAny: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:111:13 + 111 toBeAny: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:183:46 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'. @@ -328,90 +328,90 @@ test('usage test', () => { 246 expectTypeOf([1, 2, 3]).items.toBeString() ~~~~~~~~~~~~ - src/index.ts:114:16 - 114 toBeString: (...MISMATCH: MismatchArgs, B>) => true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:118:16 + 118 toBeString: (...MISMATCH: MismatchArgs, Options['positive']>) => true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:258:31 - error TS2554: Expected 1 arguments, but got 0. 258 expectTypeOf<{a: string}>().toEqualTypeOf<{a: number}>() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:262:32 - error TS2554: Expected 1 arguments, but got 0. 262 expectTypeOf<{a?: number}>().toEqualTypeOf<{}>() ~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:263:32 - error TS2554: Expected 1 arguments, but got 0. 263 expectTypeOf<{a?: number}>().toEqualTypeOf<{a: number}>() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:264:32 - error TS2554: Expected 1 arguments, but got 0. 264 expectTypeOf<{a?: number}>().toEqualTypeOf<{a: number | undefined}>() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:265:39 - error TS2554: Expected 1 arguments, but got 0. 265 expectTypeOf<{a?: number | null}>().toEqualTypeOf<{a: number | null}>() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:266:37 - error TS2554: Expected 1 arguments, but got 0. 266 expectTypeOf<{a: {b?: number}}>().toEqualTypeOf<{a: {}}>() ~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:274:22 - error TS2554: Expected 1 arguments, but got 0. 274 expectTypeOf().toEqualTypeOf() ~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:280:22 - error TS2554: Expected 1 arguments, but got 0. 280 expectTypeOf().toEqualTypeOf() ~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. test/usage.test.ts:297:28 - error TS2554: Expected 1 arguments, but got 0. 297 expectTypeOf().toEqualTypeOf() ~~~~~~~~~~~~~~~~~~~~~~~~~ - src/index.ts:126:16 - 126 (...MISMATCH: MismatchArgs, B>): true - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + src/index.ts:130:16 + 130 (...MISMATCH: MismatchArgs, Options['positive']>): true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Arguments for the rest parameter 'MISMATCH' were not provided. " `)