Jest
Javascript, HTML, CSS
- In TypeScript,
: any
is a type annotation that allows an object to hold any type of value.
- ChatGPT breakdown on how TS objects work:
- .map() function
- In TypeScript (and JavaScript),
const
is used to declare a variable, but with the added restriction that the variable's value cannot be reassigned after it has been initially assigned.
- importing files into other files
- generator functions
- why you need ./ when importing relative to current file’s locations
- To run each file independently,
- deeper dive into running files
- Jest and differences between TS and JS (dynamically typed vs statically typed languages)
- can write npm scripts in the package.json file that then can be used to run stuff more easily. e.g. can do this:
- compiling and running stuff using scripts in package.json: tsc —watch
- how to run specific functions inside a file when scripts are set up like this
- renaming syntax & “destructuring assignment”:
- the difference between ‘’ and `` in typescript
- let vs const to declare variables