Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Any Chance of adding TS Support? #7

Open
iamzjohn opened this issue Mar 20, 2019 · 2 comments
Open

Any Chance of adding TS Support? #7

iamzjohn opened this issue Mar 20, 2019 · 2 comments

Comments

@iamzjohn
Copy link

Hi, I used to be a fan of Hi framework but unfortunately it still based on the old father AngularJS and still doesn't help in lot off frontend things(like package management, routing, frontend framework instead of angular), the thing is TypeScript looks being a good option to use with Hi framework since primarily provides optional static typing, classes and interfaces more infomation get be found on the documentation page and some more in this post

@emjunior258
Copy link
Collaborator

Hi Adelino. You can use Typescript and ES6, ES7. As long as you make sure that in the end, the ES5 to be generated is correctly using the Hi-Framework API. What is stopping you?

@iamzjohn
Copy link
Author

My first problem in all this is the package management for the frontend I could just use npm scripts or an task runner and some basic config to compile TS to ES5, the think is I suggest having in then view template Hi.view or globally the option to choose if I want to use ES6/ES7/TS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants