The inventor's quantification platform now supports native TypeScript!

Author: ChaoZhang, Created: 2023-03-24 15:52:50, Updated: 2023-03-24 15:59:32

I'm not going to say that I'm not a big fan of Twitter.

We're excited to announce that the inventor quantification platform now supports native TypeScript! To make your policy development easier, more efficient and more secure, we've introduced this powerful static type checker language.

To use TypeScript on the platform, simply add the following note at the beginning of the policy code:

// @ts-check

After adding this annotation, the platform will automatically recognize the code as TypeScript and provide you with corresponding compilation and type checking support.

By using TypeScript, you will gain some important advantages:

  1. Type of security:TypeScript's static type checker can help you detect potential errors when writing code and improve code quality.

  2. Automatically filling the code:TypeScript's type system allows you to find the properties and methods you need faster when writing code, improving development efficiency.

  3. Clearer code structure: Using TypeScript, you can better organize and maintain your code, making it easy to read and understand.

  4. Powerful object-oriented programming features:TypeScript provides powerful object-oriented programming features such as interfaces, classes, and generic types to help you write more robust, reusable policy code.

Please note that although the platform already supports native TypeScript, you still need to keep the policy language type as JavaScript.

We hope this new feature will bring you a more enjoyable strategy development experience. Please feel free to contact us with any questions or suggestions. We look forward to receiving your valuable feedback!

I wish you a pleasant strategic development!

The inventors quantify the team

TypeScript policy demonstrationhttps://www.fmz.com/strategy/405326


More