config.toml

 1name = "TypeScript"
 2grammar = "typescript"
 3path_suffixes = ["ts", "cts", "mts"]
 4first_line_pattern = '^#!.*\b(?:deno run|ts-node|bun|tsx|[/ ]node)\b'
 5line_comments = ["// "]
 6block_comment = ["/*", "*/"]
 7autoclose_before = ";:.,=}])>"
 8brackets = [
 9    { start = "{", end = "}", close = true, newline = true },
10    { start = "[", end = "]", close = true, newline = true },
11    { start = "(", end = ")", close = true, newline = true },
12    { start = "<", end = ">", close = false, newline = true, not_in = ["string", "comment"] },
13    { start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },
14    { start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] },
15    { start = "`", end = "`", close = true, newline = false, not_in = ["string"] },
16    { start = "/*", end = " */", close = true, newline = false, not_in = ["string", "comment"] },
17]
18word_characters = ["#", "$"]
19prettier_parser_name = "typescript"
20tab_size = 2
21debuggers = ["JavaScript"]
22documentation = { start = "/**", end = "*/", prefix = "* ", tab_size = 1 }
23
24[overrides.string]
25completion_query_characters = ["."]
26prefer_label_for_snippet = true
27
28[overrides.function_name_before_type_arguments]
29prefer_label_for_snippet = true