@@ -12,7 +12,7 @@ dissallowSymbolAsWeakType.ts(4,8): error TS2345: Argument of type 'symbol' is no
1212dissallowSymbolAsWeakType.ts(5,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
1313dissallowSymbolAsWeakType.ts(6,11): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
1414dissallowSymbolAsWeakType.ts(8,16): error TS2769: No overload matches this call.
15- Overload 1 of 2, '(iterable?: Iterable<readonly [object, boolean]>): WeakMap<object, boolean>', gave the following error.
15+ Overload 1 of 2, '(iterable?: Iterable<readonly [object, boolean]> | null | undefined ): WeakMap<object, boolean>', gave the following error.
1616 Argument of type '[symbol, false][]' is not assignable to parameter of type 'Iterable<readonly [object, boolean]>'.
1717 The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
1818 Type 'IteratorResult<[symbol, false], undefined>' is not assignable to type 'IteratorResult<readonly [object, boolean], any>'.
@@ -60,7 +60,7 @@ dissallowSymbolAsWeakType.ts(19,14): error TS2345: Argument of type 'symbol' is
6060 const wm = new WeakMap([[s, false]]);
6161 ~~~~~~~
6262!!! error TS2769: No overload matches this call.
63- !!! error TS2769: Overload 1 of 2, '(iterable?: Iterable<readonly [object, boolean]>): WeakMap<object, boolean>', gave the following error.
63+ !!! error TS2769: Overload 1 of 2, '(iterable?: Iterable<readonly [object, boolean]> | null | undefined ): WeakMap<object, boolean>', gave the following error.
6464!!! error TS2769: Argument of type '[symbol, false][]' is not assignable to parameter of type 'Iterable<readonly [object, boolean]>'.
6565!!! error TS2769: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
6666!!! error TS2769: Type 'IteratorResult<[symbol, false], undefined>' is not assignable to type 'IteratorResult<readonly [object, boolean], any>'.
0 commit comments