[JS, Frontend] Fix a typo in an error message

The single apostrophe was eaten, resulting in the wrong
spelling "cant".
This commit is contained in:
Sergej Jaskiewicz
2021-09-06 13:04:24 +03:00
parent cb3d5f90e6
commit 5eaea04bc8
@@ -101,7 +101,7 @@ private val DIAGNOSTIC_FACTORY_TO_RENDERER by lazy {
Renderers.DECLARATION_NAME_WITH_KIND)
put(ErrorsJs.NESTED_JS_EXPORT, "@JsExport is only allowed on files and top-level declarations")
put(ErrorsJs.WRONG_EXPORTED_DECLARATION, "Declaration of such kind ({0}) can't be exported to JS", Renderers.STRING)
put(ErrorsJs.WRONG_EXPORTED_DECLARATION, "Declaration of such kind ({0}) can''t be exported to JS", Renderers.STRING)
put(ErrorsJs.NON_EXPORTABLE_TYPE, "Exported declaration uses non-exportable {0} type: {1}", Renderers.STRING, RENDER_TYPE)
this