Sobes.tech

/** * Task 3: Analyze the function below and fix any errors. Explain the role of the `never` type in TypeScript. */ function throwError(): never { throw new Error('An error occurred'); } /** * Task 4: Transform the given type `MaybeProps` to make all of its properties required. */ type MaybeProps = { a?: number; b?: string; }; /** * Task 5: Create a generic type `Container` that contains a single property `value`. * The type of `value` should be constrained to either `string` or `number`. */ type Container<T> = { value: T; };

Middle
Altenar
20

Tell us about your relevant work experience.

Middle+
Basis
20

In TypeScript, what’s the practical difference between `interface` and `type`, and when would you prefer one over the other in

Senior
micro1
20

What is a literal type in TypeScript? Provide an example.

Middle+
Ozon Tech
20

Why is the key attribute needed in React? What will happen if the key changes?

Middle+
VK Tech
20

How does enum work in TypeScript — what happens to keys and values if values are not specified or explicitly set?

Middle+
Ozon Tech
20

Can we retrieve data using a DELETE request or send data using a GET request?

Middle
WB банк
20

What architectural considerations are important for routing and navigation when moving an existing product to React?

Middle+
AndersenAndersen
20

Tell me about props, emit, and provide/inject in Vue — what they are, how they are used, and why.

Middle
Брайтис
20

What utility types in TypeScript do you use most often?

Middle
thesis
20

How to protect against an infinite Promise when requesting access to the camera and microphone? Suggest options using static Promise methods.

Middle
РСХБ-автоматизация
20

Primitive types can call built-in methods, such as toString. Why is this possible?

Middle+
Ozon Tech
20

How do margins collapse?

Middle
РунитиРунити
20

What other optimizations of the table have you done besides pagination and filtering?

Middle
NordClan
20

Can you somehow confirm your work experience (more than 5.25 years) listed in your resume? For example, with a work book or a certificate extract?

Middle
NordClan
20

What is CSRF and how to fight it?

Middle
TokenTech
20

Did you write unit tests yourself? What testing tools did you use?

Middle
Get Express
20

How did you display PDF documents directly on a page, did you use a library?

Middle
BLS-Soft
20

What are higher-order components (HOCs) in React?

Middle+
AndersenAndersen
20

What is an abstract class?

Middle+
Ozon Tech
20
/286