About performance in variable typing in functions and variables in typescript

0

Is there a difference in typescript performance when using variable typing compared to any?

Example:

minhaString: any;
minhaString: string;

I would also like to know if there is a difference in typing the function return, eg:

minhaFuncao(){}

e minhaFuncao():void{}

Would this typing help in performance in any way or is it more to follow design patterns?

Is there a study that shows the difference in performance when a function / variable is declared as public, private, protected ...?

    
asked by anonymous 22.11.2018 / 17:45

0 answers