diff --git a/lang/typescript/typescript.talon b/lang/typescript/typescript.talon index 80e949282a..c99fc11310 100644 --- a/lang/typescript/typescript.talon +++ b/lang/typescript/typescript.talon @@ -1,3 +1,10 @@ tag: user.typescript - tag(): user.javascript + +type union []: " | {code_type or ''}" +type intersect []: " & {code_type or ''}" + +state type: user.insert_between("type ", " = ") + +as const: " as const"