Add test for previous change (bug#70023)
authorTheodor Thornhill <theo@thornhill.no>
Thu, 28 Mar 2024 18:02:09 +0000 (19:02 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Thu, 28 Mar 2024 18:03:02 +0000 (19:03 +0100)
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: Add
test.

test/lisp/progmodes/typescript-ts-mode-resources/indent.erts

index 7b6185e0386ca88c23f981d1db8d16fe73d7297b..bec96ad82e096ab6ac85500b6463a1c606f376bb 100644 (file)
@@ -110,3 +110,17 @@ const foo = (props) => {
   );
 }
 =-=-=
+
+Name: Interface body fields are indented
+
+=-=
+interface Foo {
+foo: string;
+bar?: boolean;
+}
+=-=
+interface Foo {
+  foo: string;
+  bar?: boolean;
+}
+=-=-=