
The Complete Strapi™ Course with Plugins and Deployment - How to Use Typescript (Optional)
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why does the instructor choose to use JavaScript instead of TypeScript throughout the course?
JavaScript has more features than TypeScript.
TypeScript is not supported by Strapy.
JavaScript is faster than TypeScript.
JavaScript is more widely known among developers.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to initialize a Strapy project with TypeScript using yarn?
yarn new strapy --typescript
yarn init strapy --ts
yarn create app
yarn create strapy-app --typescript
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What file is essential to add when converting a Strapy project to TypeScript?
package.json
tsconfig.json
webpack.config.js
babel.config.js
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it necessary to modify the database configuration file when converting to TypeScript?
To update the database credentials.
To change the database type.
To adjust the file path due to the creation of a Dist subdirectory.
To enable TypeScript support for the database.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'allowJS' option in the tsconfig.json file?
To disable JavaScript support in the project.
To convert all JavaScript files to TypeScript automatically.
To allow only TypeScript files in the project.
To enable JavaScript files to be used alongside TypeScript.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key benefit of using TypeScript in a Strapy project?
It reduces the size of the project.
It eliminates the need for a database.
It provides a strongly typed experience.
It makes the project run faster.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can you find more information on using TypeScript with Strapy?
In the instructor's personal blog.
In the Strapy TypeScript documentation linked in the lesson resources.
In the Strapy community forum.
In the course's main textbook.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?