TypeScript Mock Interview | Interview Questions for TypeScript Developers
HTML-код
- Опубликовано: 16 ноя 2022
- We're back with a new chapter of Turing Mock Interview where we take a look at technical interview questions that appear in TypeScript interviews. Watch the video to understand the concepts you must brush up on before sitting for a TypeScript test and interview. Let us know in the comments below which tech stack you'd like us to cover next.
Become a Turing software developer today.
Take the Turing test now: turing.com/s/Qhro34
Find remote US software jobs: turing.com/s/ezIxN2
Hire software developers of Silicon Valley caliber: turing.com/s/hchmho
Watch more Turing Mock Interviews: bit.ly/3tEYNTe
To stay informed about the latest updates at Turing, follow us on:
Instagram: / turingcom
Facebook: / turingcom
Twitter: / turingcom
LinkedIn: / mycompany
...
#TypeScriptInterview #TypeScriptDevelopers #TypeScriptDeveloperJobs #TuringJobs #RemoteJobs #TuringDeveloper
About Turing.com:
Turing connects exceptionally talented software developers to remote engineering jobs at Silicon Valley and US-based companies. 200+ companies, including those backed by Google Ventures, Andreessen Horowitz, Founders Fund, Kleiner Perkins, and Bloomberg, have successfully hired Turing developers.
- For over 2M software developers across 150+ countries, Turing.com is the preferred platform for finding remote US software engineering jobs.
- Turing offers a wide range of long-term, full-time remote jobs for Full Stack, Front-End, Back-End, Mobile, DevOps, and AI/ML developers.
- Turing remote developers enjoy higher pay than local standards in most countries, a healthy work-life balance, a strong sense of community, and rapid career growth.
Turing is backed by well-known investors like WestBridge Capital, Foundation Capital, Facebook’s first CTO (Adam D’Angelo), executives from Google, Facebook, Amazon, Twitter, and Founders Fund (investors in Facebook, Tesla, Asana, etc.), among others. The company is led by serial AI entrepreneurs Jonathan Siddharth and Vijay Krishnan, whose previous firm leveraged remote talent and was successfully acquired.
The company was founded in 2018 and is headquartered in Palo Alto, California. - Наука
2:17 What is Typescript?
3:50 Components of Typescript (pretty much the same as first question)
5:35 Why should we use Typescript
7:11 Access Modifiers
8:23 What type did Typescript add to Javascript?
9:33 Difference between interface and type?
10:57 Generic types
12:03 Structural Typing
13:22 Private fields rules
14:24 Never vs unknown vs any
17:31 Declare keyword
18:52 What are ambients? (unanswered)
Ambient declarations are typically used to describe the shape of libraries that are written in JavaScript, so that you can use them in your TypeScript code with type checking and IDE support. They are defined in .d.ts files, which are TypeScript declaration files that contain only type information and no actual implementation code.
10:46 types cannot be extended, but they can be intersected to create new types. This should be mentioned when asked how types are different than interfaces.
You mean aggregating various types to create another type in the case of interface?
Always nice to see a fellow BR speaking English so well. 💪
An ambient declaration is a way to tell the TypeScript compiler about the existence of a value that is not written in TypeScript, such as a global variable or a third-party library.
The intervieww has a very good knowledge of typescript. I was able to learn a lot from the video. Thank you for sharing the great video :)
Any allows you to perform any operation on a value without any type checking, whereas unknown requires you to perform type checking before performing any operations on the value.
The 'never' keyword to make a variable of never type. Users can use the never type when they are sure about any situation that will never occur. For example, we can use the never as a return type when we are sure that the function will never return any value.
Ambient declarations in TypeScript allow you to provide type information for external libraries, global variables, or other non-TypeScript code.
To use ambient declarations, you create `.d.ts` files where you define the ambient types. These declaration files should be included in your TypeScript project so that the compiler can recognize and apply the type information.
Overall, ambient declarations in TypeScript enable better type-checking and tooling support in projects that involve external entities.
Very Informative!!
Awesome.. Thank you so much it is very Usefull
Useful video
Very well done.👍
Thank you! Cheers!
Awesome. Turing 🥰🥰🥰🥰
Thanks for watching! :)
can extends but it is not extends, it call Intersection. so it is not wrong if we say type can't extend.