Closed guillaumearm closed 7 years ago
today, getLocale() and getPhrases() callback signatures are:
getLocale()
getPhrases()
getLocale :: Action -> String getPhrases :: String -> Promise of Object
after a nice PR, this would be:
getLocale :: Action -> (String | Promise of String) getPhrases :: String -> (Object | Promise of Object)
careful to be backward compatible.
for v1.2
today,
getLocale()
andgetPhrases()
callback signatures are:after a nice PR, this would be:
careful to be backward compatible.