File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
typescript-generator-core/src/test/java/cz/habarta/typescript/generator Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -75,19 +75,19 @@ public void test() {
75
75
final String output = new TypeScriptGenerator (settings ).generateTypeScript (Input .from (ReadOnlyWriteOnlyUser .class ));
76
76
final String expected = "\n "
77
77
+ "interface ReadOnlyWriteOnlyUser {\n "
78
- + " name: string;\n "
79
78
+ " /**\n "
80
79
+ " * @readonly\n "
81
80
+ " */\n "
82
81
+ " id1: string;\n "
83
82
+ " /**\n "
84
- + " * @writeonly\n "
85
- + " */\n "
86
- + " password1: string;\n "
87
- + " /**\n "
88
83
+ " * @readonly\n "
89
84
+ " */\n "
90
85
+ " id2: string;\n "
86
+ + " name: string;\n "
87
+ + " /**\n "
88
+ + " * @writeonly\n "
89
+ + " */\n "
90
+ + " password1: string;\n "
91
91
+ " /**\n "
92
92
+ " * @writeonly\n "
93
93
+ " */\n "
You can’t perform that action at this time.
0 commit comments