Many TypeScript guides discourage the use of any because using it throws away the type restrictions — the first reason why you use TypeScript!
TypeScript (version 3.0 and above) also provides a special type unknown that is similar to any. You can assign any value to an unknown type variable as well
#anyvsunknow #typescript #typescripttutorial #typescriptinterviewquestion #frontend
Watch video Difference between any and unknown | Typescript Interview Question | any vs unknown online without registration, duration hours minute second in high quality. This video was added by user WeAreTechies 15 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 32 once and liked it 1 people.