(no title)
andreypopp | 9 months ago
The declaration file isn't used to typecheck the code the declaration is for. It is only for consumers of the code.
andreypopp | 9 months ago
The declaration file isn't used to typecheck the code the declaration is for. It is only for consumers of the code.
sundarurfriend|9 months ago
I was editing my comment during your reply, and added this:
> or maybe https://github.com/teal-language/tl#loading-teal-code-from-l... this is the easier way to do it. `require` and use `loader` during development, generate the Lua once things are somewhat stable.
Does that sound like the right idea then?
[1] https://github.com/ruby/rbs [2] https://mypy.readthedocs.io/en/stable/stubs.html