7Hazard

Results 5 comments of 7Hazard

I hit this issue with @altv/types-client, https://github.com/altmp/altv-types

This goes for normal arrays too: ```ts consoleCommand: (name: string, ...args: string[]) => void; ``` makes ```kt var consoleCommand: (name: String, args: String) -> Unit ``` Which is totally wrong....

We were able get the rest parameters as an array like the following: ```kt val args: Array = js("Array.prototype.slice.call(arguments, 1);") ```

This is really annoying. Normally only tabbing should commit autocompletion. Thats how the autocompletion works on all other languages.

> I'm listening the the Benny Hill theme while digesting these changes: > > ![image](https://private-user-images.githubusercontent.com/734593/296743123-70032a49-764b-42ad-9ddd-54074d2b8fed.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDUzMzY2NzIsIm5iZiI6MTcwNTMzNjM3MiwicGF0aCI6Ii83MzQ1OTMvMjk2NzQzMTIzLTcwMDMyYTQ5LTc2NGItNDJhZC05ZGRkLTU0MDc0ZDJiOGZlZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMTE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDExNVQxNjMyNTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05NWVmODJlZGMwMjI2MGViYTg0MTE2ZWM5ZTIyMTZmMzljY2YxYTY0YzdjNWE2YWUyYzA2MjlhZGEyYzc3NTZiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.x45CAc7uMAkILYJQ8fmXwHiEcjB8uxuCgXV76bEBe_Q) > > From here: https://dotty.epfl.ch/docs/reference/changed-features/wildcards.html Makes me really reconsider why we went with Scala over...