Will TypeScript support any of those great MV* frameworks.
I know it’s too early to ask this, but what about the chances to reach support for them with this young javascript initiative?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
TypeScript already supports these and every other JavaScript library. Any JavaScript code is valid TypeScript code.
Obviously to see any benefits from TypeScript these libraries would need to add type annotations, this can be done unobtrusively by creating Declaration Source Files (files with a
.d.tsextension). These are basically header files that describe the type information associated with existing JavaScript code.It is obviously outside the scope of the TypeScript project to create these Declaration Source Files for every popular JavaScript library. It is up to those projects and the community to contribute this.
You can view a sample Declaration Source File for jQuery that is included in the TypeScript samples.