Open james1293 opened 7 years ago
Update - after looking at the file a bit, it seems possible to simply:
module Astronomy {
from line 4} export let Astro = Astronomy;
from line 95 - 97
export
appropriately (such as export let Class: ClassStatic
).Let me know what you think! Thanks!
Hello, I noticed that you export the object "Astro". Version 2 of Astronomy allows us to do
as seen on the documentation ( http://jagi.github.io/meteor-astronomy/#upgrading-to-20 ).
With your current ts definition file, that line of code results in an error.
Do you think it's possible to make your ts definition file match Astronomy version 2? I'm pretty new to typescript, but I figured I'd suggest the change in case it was an easy fix. Thanks!