diff options
Diffstat (limited to 'tests/specs/doc/html')
| -rw-r--r-- | tests/specs/doc/html/__test__.jsonc | 12 | ||||
| -rw-r--r-- | tests/specs/doc/html/referenced_private_types_fixed.ts | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/specs/doc/html/__test__.jsonc b/tests/specs/doc/html/__test__.jsonc new file mode 100644 index 000000000..5114127cd --- /dev/null +++ b/tests/specs/doc/html/__test__.jsonc @@ -0,0 +1,12 @@ +{ + "tempDir": true, + "args": [ + "doc", + "--html", + "--name=MyLib", + "--output=temp_dir_path_here", + "referenced_private_types_fixed.ts" + ], + "output": "[WILDCARD]", + "exitCode": 0 +} diff --git a/tests/specs/doc/html/referenced_private_types_fixed.ts b/tests/specs/doc/html/referenced_private_types_fixed.ts new file mode 100644 index 000000000..cd99bc76e --- /dev/null +++ b/tests/specs/doc/html/referenced_private_types_fixed.ts @@ -0,0 +1,11 @@ +/** Doc comment */ +export interface MyInterface { + /** Doc comment */ + prop?: string; +} + +/** Doc comment */ +export class MyClass { + /** Doc comment */ + prop: MyInterface = {}; +} |
