Monday, 6 August 2018

How to declare function parameter type.

Hello, coming from Java, and C++ I don't know a lot about NodeJS. Why does function myFunc(sender: User, ...); give this error: [ts] 'types' can only be used in a .ts file.How do i declare function parameter types?

Submitted August 06, 2018 at 12:31PM by Xydez

No comments:

Post a Comment