Currently I've started to learn TypeScript. From the documents I've studied for TypeScript, I saw some samples that pure JavaScript code could be compiled as TypeScript code.
My question is: Is TypeScript language designed in a way that any JavaScript code will be a valid TypeScript code?
i.e. is any .js file a valid .ts file?