exports interface dev {
    print(
        a: string,
        b: string
    ):Promise<class bb>;
}
export function printInstance: dev {
   return new(class implements dev {
    public async print(
        C: string
    ): Promise<class bb> {
    }
})()
}
In interface there is two input a and b but in implementation another input c is introduced which doesn't match with name in interface and only one is send. Will it cause any issues? I tried this and no error was thrown I guess name of variable doesn't matter and if we pass less parameters then then the other one will take null value.
 
     
     
    