Question: what is .ts file in angular?
Answer: ts: This file is a unit testing file related to app component. This file is used along with other unit tests. It is run from Angular CLI by the command ng test. app. component.