Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you explain more about example? #6

Closed
magichim opened this issue Jan 6, 2020 · 2 comments
Closed

Could you explain more about example? #6

magichim opened this issue Jan 6, 2020 · 2 comments

Comments

@magichim
Copy link
Collaborator

magichim commented Jan 6, 2020

Whenever I follow readme example and execute test.ts code, I got much message like this

error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning.

In dso repo, already exsist tsconfig.json and key, value(experimentalDecorators: true).
however, It's not easy to test. still keep this message on terminal.

What should I do to solve this problem?

@manyuanrong
Copy link
Owner

manyuanrong commented Jan 6, 2020

Deno will not read the tsconfig.json configuration, you need to manually type it at runtime

deno -A -c tsconfig.json ./test.ts

You can find clues in the ci configuration file. Of course, it would be better if there is a more detailed description in the document, I can fill it out if I have enough time, it would be better if someone helps me

@magichim
Copy link
Collaborator Author

magichim commented Jan 6, 2020

@manyuanrong Thanks!

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

No branches or pull requests

2 participants