Closed RoyTinker closed 4 years ago
grunt test
also fails on master with the same error.
Ended up reverting this. After testing with the example apps, the recursive type makes it so this example,
@declare(DijitDialog)
class Dialog {
title: string = messages.dialogTitle;
content: string = messages.dialogContent;
}
had to be type-casted to,
@declare(DijitDialog)
class Dialog {
title: string = messages.dialogTitle as string;
content: string = messages.dialogContent as string;
}
This adds a type
dojo.I18nBundle
and assigns that type to i18n bundles pulled in via dojo/i18n.When using it: