tests/cases/conformance/expressions/functionCalls/tsfile.ts(6,1): error TS2554: Expected 1 arguments, but got 0.
tests/cases/conformance/expressions/functionCalls/tsfile.ts(7,1): error TS2554: Expected 1 arguments, but got 0.
tests/cases/conformance/expressions/functionCalls/tsfile.ts(8,1): error TS2554: Expected 1 arguments, but got 0.
tests/cases/conformance/expressions/functionCalls/tsfile.ts(10,4): error TS2554: Expected 1 arguments, but got 0.
tests/cases/conformance/expressions/functionCalls/tsfile.ts(11,4): error TS2554: Expected 1 arguments, but got 0.
tests/cases/conformance/expressions/functionCalls/tsfile.ts(12,4): error TS2554: Expected 1 arguments, but got 0.


==== tests/cases/conformance/expressions/functionCalls/defs.d.ts (0 errors) ====
    declare function f1(p: void): void;
    declare function f2(p: undefined): void;
    declare function f3(p: unknown): void;
    declare function f4(p: any): void;
    
    interface I<T> { m(p: T): void; }
    declare const o1: I<void>;
    declare const o2: I<undefined>;
    declare const o3: I<unknown>;
    declare const o4: I<any>;
    
==== tests/cases/conformance/expressions/functionCalls/jsfile.js (0 errors) ====
    // current behavior: treat trailing `void` as optional
    f1();
    o1.m();
    
    // new behavior: treat 'undefined', 'unknown', and 'any' as optional in non-strict mode
    f2();
    f3();
    f4();
    
    o2.m();
    o3.m();
    o4.m();
    
==== tests/cases/conformance/expressions/functionCalls/tsfile.ts (6 errors) ====
    // current behavior: treat trailing `void` as optional
    f1();
    o1.m();
    
    // no change in behavior
    f2();
    ~~~~
!!! error TS2554: Expected 1 arguments, but got 0.
!!! related TS6210 tests/cases/conformance/expressions/functionCalls/defs.d.ts:2:21: An argument for 'p' was not provided.
    f3();
    ~~~~
!!! error TS2554: Expected 1 arguments, but got 0.
!!! related TS6210 tests/cases/conformance/expressions/functionCalls/defs.d.ts:3:21: An argument for 'p' was not provided.
    f4();
    ~~~~
!!! error TS2554: Expected 1 arguments, but got 0.
!!! related TS6210 tests/cases/conformance/expressions/functionCalls/defs.d.ts:4:21: An argument for 'p' was not provided.
    
    o2.m();
       ~~~
!!! error TS2554: Expected 1 arguments, but got 0.
!!! related TS6210 tests/cases/conformance/expressions/functionCalls/defs.d.ts:6:20: An argument for 'p' was not provided.
    o3.m();
       ~~~
!!! error TS2554: Expected 1 arguments, but got 0.
!!! related TS6210 tests/cases/conformance/expressions/functionCalls/defs.d.ts:6:20: An argument for 'p' was not provided.
    o4.m();
       ~~~
!!! error TS2554: Expected 1 arguments, but got 0.
!!! related TS6210 tests/cases/conformance/expressions/functionCalls/defs.d.ts:6:20: An argument for 'p' was not provided.
    