Skip to content

Commit 84b9ae4

Browse files
zagginomarijnh
authored andcommitted
[javascript mode] Add failing TS typecast test
1 parent 9d1cc45 commit 84b9ae4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

mode/javascript/test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@
332332
" [keyword return] [keyword this].[property property];",
333333
"}")
334334

335+
TS("typescript_complex_type_casting",
336+
"[keyword const] [def giftpay] [operator =] [variable config].[property get]([string 'giftpay']) [keyword as] { [[ [variable platformUuid]: [variable-3 string] ]]: { [property version]: [variable-3 number]; [property apiCode]: [variable-3 string]; } };")
337+
335338
var jsonld_mode = CodeMirror.getMode(
336339
{indentUnit: 2},
337340
{name: "javascript", jsonld: true}

0 commit comments

Comments
 (0)