Open pie6k opened 7 years ago
If I do
import Sugar from 'sugar
I've got all type definitions for Sugar.Date etc, but if I import only part of sugar eg.
Sugar.Date
import SugarDate from 'sugar/date'
I'm not getting any types. SugarDate is declared as :any
:any
This leads into #529. The declarations are still in flux. If you only require the date module then for now can you try using the sugar-date module instead?
sugar-date
If I do
import Sugar from 'sugar
I've got all type definitions for
Sugar.Date
etc, but if I import only part of sugar eg.import SugarDate from 'sugar/date'
I'm not getting any types. SugarDate is declared as
:any