0 votes
in TypeScript - JavaScript's Superset by
recategorized by
Type Annotations allow us to _______.

a) Cast a reference of a base class to one of its derived classes

b) Record the intended contract of the function or variable

c) Cast to a supertype

d) Reassign the type of data

2 Answers

0 votes
by
Record the intended contract of the function or variable
0 votes
by
b) Record the intended contract of the function or variable

Type Annotations allow us to Record the intended contract of the function or variable

Related questions

0 votes
asked Jan 27, 2020 in TypeScript - JavaScript's Superset by AdilsonLima
0 votes
asked Jan 27, 2020 in TypeScript - JavaScript's Superset by AdilsonLima
...