summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/jsx/jsx.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/mode/jsx/jsx.js')
-rw-r--r--public/vendor/codemirror/mode/jsx/jsx.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/vendor/codemirror/mode/jsx/jsx.js b/public/vendor/codemirror/mode/jsx/jsx.js
index aff01b8d..45c3024a 100644
--- a/public/vendor/codemirror/mode/jsx/jsx.js
+++ b/public/vendor/codemirror/mode/jsx/jsx.js
@@ -144,4 +144,5 @@
}, "xml", "javascript")
CodeMirror.defineMIME("text/jsx", "jsx")
+ CodeMirror.defineMIME("text/typescript-jsx", {name: "jsx", base: {name: "javascript", typescript: true}})
});