TypeScript Mock Interview | Interview Questions for TypeScript Developers

  Рет қаралды 46,108

Turing

Turing

Күн бұрын

Пікірлер: 29
@ironside915
@ironside915 Жыл бұрын
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)
@hoihoanginh9264
@hoihoanginh9264 5 ай бұрын
thank you for summarizing
@asadanik5987
@asadanik5987 Жыл бұрын
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.
@dubble_cuppachino
@dubble_cuppachino Жыл бұрын
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.
@yeasinarafat2290
@yeasinarafat2290 Жыл бұрын
You mean aggregating various types to create another type in the case of interface?
@julianosanm
@julianosanm Жыл бұрын
Always nice to see a fellow BR speaking English so well. 💪
@NeniEmSu
@NeniEmSu Жыл бұрын
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.
@licokr
@licokr Жыл бұрын
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 :)
@MdMostafizurRahman-xv3qw
@MdMostafizurRahman-xv3qw 2 жыл бұрын
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.
@hoihoanginh9264
@hoihoanginh9264 5 ай бұрын
Thank you so much to Turning bros! Please publish many many videos like this. It's pretty helpful for everyone there, including me.
@majd36637
@majd36637 Жыл бұрын
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.
@ann_lu
@ann_lu 3 ай бұрын
I would say no need to create it, just to set up declararion: true in tsconfig and it will be generated automatically from .ts files with types
@AGhostyProduction
@AGhostyProduction 15 күн бұрын
I wonder when its ideal to use one over the other, but it seems like there’s an organizational edge to using a .d.ts file I would normally use declare though, based on my early career experience
@webdevbyte
@webdevbyte Ай бұрын
16:00 when using the any type, you can freely assign and reassign values of different types without TypeScript raising type errors. When you assign a type never, you cannot reassign it to any other type, including an object.
@suzzie123ful
@suzzie123ful Жыл бұрын
Very Informative!!
@robyhuzwandar
@robyhuzwandar Жыл бұрын
can extends but it is not extends, it call Intersection. so it is not wrong if we say type can't extend.
@devuthakkar1602
@devuthakkar1602 2 жыл бұрын
Very well done.👍
@Turingcom
@Turingcom 2 жыл бұрын
Thank you! Cheers!
@yashwanthreddygowreddigari1997
@yashwanthreddygowreddigari1997 Жыл бұрын
Awesome.. Thank you so much it is very Usefull
@4w0ken
@4w0ken 4 ай бұрын
oh man i would crush these interviews
@asadanik5987
@asadanik5987 Жыл бұрын
Awesome. Turing 🥰🥰🥰🥰
@Turingcom
@Turingcom Жыл бұрын
Thanks for watching! :)
@Mr.Zeus11
@Mr.Zeus11 6 ай бұрын
good one!
@jellyfish1772
@jellyfish1772 Жыл бұрын
Useful video
@devendrayadav2534
@devendrayadav2534 4 ай бұрын
`any` is funny, you can resassign `string | number | boolean` anything lol. Purpose of typescript defeated with single keyword.
@akadeadahot7067
@akadeadahot7067 6 ай бұрын
Hey buddy what kind of question is that “ u like typescript or not “ seriously is it concern with Candidate who is giving interview
@jamad-y7m
@jamad-y7m 5 күн бұрын
Should be titled 'Fake interview'
@qazyhn94
@qazyhn94 7 күн бұрын
What a idiotic question about interface and type, everybody asks this while this is completely dumb... just a team should agree on one since they are pretty the same purpose, shows only that interviewers asks questions from google red flag
@LoveQwertying
@LoveQwertying 7 ай бұрын
he/him/his :D
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
Typescript Interview Questions and Answers - Dominate Your Next Interview
53:34
Monsterlessons Academy
Рет қаралды 14 М.
TypeScript Interview Questions - STUMP'd
25:19
Syntax
Рет қаралды 4,5 М.
TypeScript Interview Questions 2024 (Junior & Mid)
13:46
theSeniorDev
Рет қаралды 15 М.
Mock Technical Interview - Javascript Developer Entry Level
1:36:22
Tech with Nader
Рет қаралды 509 М.
10 JavaScript Interview Questions You HAVE TO KNOW
13:41
James Q Quick
Рет қаралды 83 М.
Mid-level React Interview
46:08
Justin Lawrence
Рет қаралды 72 М.
React Interview Questions and Answers - Dominate Your Next Interview
45:43
Monsterlessons Academy
Рет қаралды 31 М.
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН