{"action":"closed","issue":{"url":"https://api.github.com/repos/ArpNetworking/sbt-typescript/issues/10","labels_url":"https://api.github.com/repos/ArpNetworking/sbt-typescript/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ArpNetworking/sbt-typescript/issues/10/comments","events_url":"https://api.github.com/repos/ArpNetworking/sbt-typescript/issues/10/events","html_url":"https://github.com/ArpNetworking/sbt-typescript/issues/10","id":93204225,"number":10,"title":"DeserializationException: Expected String as JsString, but got...","user":{"login":"blast-hardcheese","id":278900,"avatar_url":"https://avatars.githubusercontent.com/u/278900?v=3","gravatar_id":"","url":"https://api.github.com/users/blast-hardcheese","html_url":"https://github.com/blast-hardcheese","followers_url":"https://api.github.com/users/blast-hardcheese/followers","following_url":"https://api.github.com/users/blast-hardcheese/following{/other_user}","gists_url":"https://api.github.com/users/blast-hardcheese/gists{/gist_id}","starred_url":"https://api.github.com/users/blast-hardcheese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blast-hardcheese/subscriptions","organizations_url":"https://api.github.com/users/blast-hardcheese/orgs","repos_url":"https://api.github.com/users/blast-hardcheese/repos","events_url":"https://api.github.com/users/blast-hardcheese/events{/privacy}","received_events_url":"https://api.github.com/users/blast-hardcheese/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-06T06:46:45Z","updated_at":"2015-07-06T15:30:57Z","closed_at":"2015-07-06T15:30:57Z","body":"I know 1.5.0 is still alpha, but hopefully this is helpful test data:\r\n\r\n```\r\nmoment.locale('en', {\r\n    longDateFormat : {\r\n        LL: \"MMMM Do YYYY\",\r\n    }\r\n});\r\n```\r\n\r\ngives me\r\n\r\n```\r\nDeserializationException: Expected String as JsString, but got\r\n    {\r\n        \"category\": 1, \r\n        \"next\": {\r\n            \"category\": 1, \r\n            \"next\": {\r\n                \"category\": 1, \r\n                \"next\": {\r\n                    \"category\": 1, \r\n                    \"messageText\": \"Property 'L' is missing in type '{ LL: string; }'.\", \r\n                    \"code\": 2324\r\n                }, \r\n                \"messageText\": \"Type '{ LL: string; }' is not assignable to type 'MomentLongDateFormat'.\", \r\n                \"code\": 2322\r\n            }, \r\n            \"messageText\": \"Types of property 'longDateFormat' are incompatible.\", \r\n            \"code\": 2326\r\n        }, \r\n        \"messageText\": \"Argument of type '{ longDateFormat: { LL: string; }; }' is not assignable to parameter of type 'MomentLanguage'.\", \r\n        \"code\": 2345\r\n    }\r\n\r\n        at play.PlayReloader$$anon$1$$anonfun$play$PlayReloader$$anon$$taskFailureHandler$1.apply(PlayReloader.scala:237) ~[na:na]\r\n        at play.PlayReloader$$anon$1$$anonfun$play$PlayReloader$$anon$$taskFailureHandler$1.apply(PlayReloader.scala:230) ~[na:na]\r\n        at scala.Option.map(Option.scala:145) ~[scala-library-2.11.4.jar:na]\r\n        at play.PlayReloader$$anon$1.play$PlayReloader$$anon$$taskFailureHandler(PlayReloader.scala:230) ~[na:na]\r\n        at play.PlayReloader$$anon$1$$anonfun$reload$2.apply(PlayReloader.scala:90) ~[na:na]\r\n        at play.PlayReloader$$anon$1$$anonfun$reload$2.apply(PlayReloader.scala:90) ~[na:na]\r\n        at scala.util.Either$LeftProjection.map(Either.scala:377) ~[scala-library-2.11.4.jar:na]\r\n        at play.PlayReloader$$anon$1.reload(PlayReloader.scala:90) ~[na:na]\r\n        at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:122) ~[play_2.11-2.3.7.jar:2.3.7]\r\n        at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:120) ~[play_2.11-2.3.7.jar:2.3.7]\r\nCaused by: spray.json.DeserializationException: Expected String as JsString, but got {\"messageText\":\"Argument of type '{ longDateFormat: { LL: string; }; }' is not assignable to parameter of type 'MomentLanguage'.\",\"category\":1,\"code\":2345,\"next\":{\"messageText\":\"Ty\r\npes of property 'longDateFormat' are incompatible.\",\"category\":1,\"code\":2326,\"next\":{\"messageText\":\"Type '{ LL: string; }' is not assignable to type 'MomentLongDateFormat'.\",\"category\":1,\"code\":2322,\"next\":{\"messageText\":\"Property 'L' is missing in type '{ LL: stri\r\nng; }'.\",\"category\":1,\"code\":2324}}}}\r\n        at spray.json.package$.deserializationError(package.scala:23) ~[na:na]\r\n        at spray.json.BasicFormats$StringJsonFormat$.read(BasicFormats.scala:126) ~[na:na]\r\n        at spray.json.BasicFormats$StringJsonFormat$.read(BasicFormats.scala:119) ~[na:na]\r\n        at spray.json.JsValue.convertTo(JsValue.scala:32) ~[na:na]\r\n        at com.typesafe.sbt.jse.SbtJsTask$JsTaskProtocol$LineBasedProblemFormat$$anonfun$read$4.apply(SbtJsTask.scala:110) ~[na:na]\r\n        at com.typesafe.sbt.jse.SbtJsTask$JsTaskProtocol$LineBasedProblemFormat$$anonfun$read$4.apply(SbtJsTask.scala:110) ~[na:na]\r\n        at scala.Option.fold(Option.scala:157) ~[scala-library-2.11.4.jar:na]\r\n        at com.typesafe.sbt.jse.SbtJsTask$JsTaskProtocol$LineBasedProblemFormat$.read(SbtJsTask.scala:110) ~[na:na]\r\n        at com.typesafe.sbt.jse.SbtJsTask$JsTaskProtocol$LineBasedProblemFormat$.read(SbtJsTask.scala:105) ~[na:na]\r\n        at spray.json.JsValue.convertTo(JsValue.scala:32) ~[na:na]\r\n\r\n```\r\n"}}