Closed blast-hardcheese closed 9 years ago
What happens, if you remove the comma at the end of the line "YYYY" as follows:
moment.locale('en', {
longDateFormat : {
LL: "MMMM Do YYYY"
}
});
Same error, actually. The error, as I read it, is that I'm missing the rest of the desired definitions for that option, in particular "L"
The main reason for the concern is that sbt-typescript doesn't even give line numbers for what's going on, so it was lucky that this code was close to the beginning of the file.
This is a known issue, related to #8
My workaround is to run tsc
from the command line manually for this cases to get a better error description.
handy command:
tsc --out killme app/assets/javascripts/*/**.ts && rm killme
from your project root.
Ah, no big deal. Thank you for your work!
I'm not the author just a (really) humble contributor :smile: , I'll try to get at least a failing test this weekend so @BrandonArp (the author) hopefully can work it out.
I know 1.5.0 is still alpha, but hopefully this is helpful test data:
gives me