class Empty {} function fn(arg: Empty) { // do something? } // No error, but this isn't an 'Empty' ? fn({ k: 10 }); Try
class Empty {} function fn(arg: Empty) { // do something? } // No error, but this isn't an 'Empty' ? fn({ k: 10 });