summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/progmodes/typescript-ts-mode-resources/indent.erts')
-rw-r--r--test/lisp/progmodes/typescript-ts-mode-resources/indent.erts14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts b/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
index 7b6185e0386..bec96ad82e0 100644
--- a/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
+++ b/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
@@ -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;
+}
+=-=-=