79348105

Date: 2025-01-11 12:53:50
Score: 1
Natty:
Report link

To Slava.In,

In TypeScript $ is used to do interpolation for literals.

For example,

type World = "world";
type Greeting = `hello ${World}`;

is equivalent to

type Greeting = "hello world"

reference

Template Literal Types

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: GeeksMathGeeks