@@ -176,7 +176,7 @@ export interface PositiveExpectTypeOf<Actual> extends BaseExpectTypeOf<Actual, {
176176 * @example
177177 * <caption>check that properties exist</caption>
178178 * ```ts
179- * const obj = {a: 1, b: ''}
179+ * const obj = { a: 1, b: '' }
180180 *
181181 * expectTypeOf(obj).toHaveProperty('a')
182182 *
@@ -395,7 +395,7 @@ export interface NegativeExpectTypeOf<Actual> extends BaseExpectTypeOf<Actual, {
395395 * @example
396396 * <caption>check that properties exist</caption>
397397 * ```ts
398- * const obj = {a: 1, b: ''}
398+ * const obj = { a: 1, b: '' }
399399 *
400400 * expectTypeOf(obj).toHaveProperty('a')
401401 *
@@ -519,9 +519,9 @@ export interface BaseExpectTypeOf<Actual, Options extends {positive: boolean}> {
519519 * @returns `true`.
520520 */
521521 toBeCallableWith : Options [ 'positive' ] extends true
522- ? < A extends OverloadParameters < Actual > > (
523- ...args : A
524- ) => ExpectTypeOf < OverloadsNarrowedByParameters < Actual , A > , Options >
522+ ? < Args extends OverloadParameters < Actual > > (
523+ ...args : Args
524+ ) => ExpectTypeOf < OverloadsNarrowedByParameters < Actual , Args > , Options >
525525 : never
526526
527527 /**
@@ -542,7 +542,7 @@ export interface BaseExpectTypeOf<Actual, Options extends {positive: boolean}> {
542542 * @returns `true`.
543543 */
544544 toBeConstructibleWith : Options [ 'positive' ] extends true
545- ? < A extends ConstructorOverloadParameters < Actual > > ( ...args : A ) => true
545+ ? < Args extends ConstructorOverloadParameters < Actual > > ( ...args : Args ) => true
546546 : never
547547
548548 /**
@@ -854,12 +854,12 @@ export type _ExpectTypeOf = {
854854 * form of a reference or generic type parameter.
855855 *
856856 * @example
857- * import {foo, bar} from '../foo'
858- * import {expectTypeOf} from 'expect-type'
857+ * import { foo, bar } from '../foo'
858+ * import { expectTypeOf } from 'expect-type'
859859 *
860860 * test('foo types', () => {
861- * // make sure `foo` has type {a: number}
862- * expectTypeOf(foo).toMatchTypeOf({a: 1})
861+ * // make sure `foo` has type { a: number }
862+ * expectTypeOf(foo).toMatchTypeOf({ a: 1 })
863863 * expectTypeOf(foo).toHaveProperty('a').toBeNumber()
864864 *
865865 * // make sure `bar` is a function taking a string:
0 commit comments