Skip to content
Snippets Groups Projects
Commit d79935c6 authored by Martin Zagora's avatar Martin Zagora Committed by Marijn Haverbeke
Browse files

[javascript mode] Test for typescript index signature

parents 8a52fcee 8595f5c0
No related branches found
No related tags found
No related merge requests found
......@@ -283,6 +283,12 @@
" [property createdAt]: [variable-3 Date];",
"}");
TS("typescript_index_signature",
"[keyword interface] [def A] {",
" [[[property prop]: [variable-3 string]]]: [variable-3 any];",
" [property prop1]: [variable-3 any];",
"}");
var jsonld_mode = CodeMirror.getMode(
{indentUnit: 2},
{name: "javascript", jsonld: true}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment