Skip to content
Snippets Groups Projects
Commit 8595f5c0 authored by Martin Zagora's avatar Martin Zagora
Browse files

test for typescript index signature

parent 7943e50e
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