Nest: Can we use this library without typescript? How?

Created on 8 Feb 2019  路  3Comments  路  Source: nestjs/nest

I'm submitting a...


[ ] Regression 
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

There is no documentation on how to use this library with es6/7 JavaScript without using typescript. For instance, how do we use dependency injection on a system that does not have type annotations?

Expected behavior

We should create documentation.

What is the motivation / use case for changing the behavior?

Higher quality documentation and better fulfilment of the statement "preserves compatibility with pure JavaScript"

Most helpful comment

Almost every example in the docs have a switch (right corner):

image

Once you click on JS, you'll see a pure javascript snippet.

All 3 comments

Almost every example in the docs have a switch (right corner):

image

Once you click on JS, you'll see a pure javascript snippet.

How I miss :)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marshall007 picture marshall007  路  3Comments

yanshuf0 picture yanshuf0  路  3Comments

rlesniak picture rlesniak  路  3Comments

mishelashala picture mishelashala  路  3Comments

thohoh picture thohoh  路  3Comments