From 5f4097caf51616b38509ac271af34affc2acef01 Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:27:37 -0800 Subject: [PATCH] test(api-markdown-documenter): Add "deep" config end-to-end test cases (#23586) Adds a test case that leverages new hierarchy options to create a "deep" suite configuration where documents that generate folder hierarchy yield documents named "index" _inside_ their folder, --- .../src/test/EndToEndTestUtilities.ts | 98 ++++---- .../src/test/HtmlEndToEnd.test.ts | 21 +- .../src/test/MarkdownEndToEnd.test.ts | 21 +- .../simple-suite-test/deep-config/index.html | 32 +++ .../deep-config/test-suite-a/index.html | 222 ++++++++++++++++++ .../_constructor_-constructor.html | 44 ++++ .../abstractpropertygetter-property.html | 21 ++ .../testabstractclass-class/index.html | 97 ++++++++ .../protectedproperty-property.html | 21 ++ .../publicabstractmethod-method.html | 20 ++ .../sealedmethod-method.html | 25 ++ .../virtualmethod-method.html | 25 ++ .../_constructor_-constructor.html | 61 +++++ .../abstractpropertygetter-property.html | 21 ++ .../test-suite-a/testclass-class/index.html | 196 ++++++++++++++++ .../publicabstractmethod-method.html | 20 ++ .../testclasseventproperty-property.html | 25 ++ .../testclassgetterproperty-property.html | 25 ++ .../testclassmethod-method.html | 52 ++++ .../testclassproperty-property.html | 25 ++ .../testclassstaticmethod-method.html | 44 ++++ .../testclassstaticproperty-property.html | 21 ++ .../testclass-class/virtualmethod-method.html | 24 ++ .../test-suite-a/testconst-variable.html | 25 ++ ...onstwithemptydeprecatedblock-variable.html | 24 ++ .../testemptyinterface-interface/index.html | 20 ++ .../test-suite-a/testenum-enum/index.html | 96 ++++++++ .../testenumvalue1-enummember.html | 24 ++ .../testenumvalue2-enummember.html | 24 ++ .../testenumvalue3-enummember.html | 24 ++ .../test-suite-a/testfunction-function.html | 84 +++++++ ...tfunctionreturninginlinetype-function.html | 25 ++ ...ionreturningintersectiontype-function.html | 28 +++ ...stfunctionreturninguniontype-function.html | 25 ++ .../_call_-callsignature.html | 24 ++ .../_call__1-callsignature.html | 24 ++ .../_new_-constructsignature.html | 24 ++ .../getterproperty-property.html | 21 ++ .../testinterface-interface/index.html | 162 +++++++++++++ ...badinheritdoctarget-propertysignature.html | 21 ++ .../setterproperty-property.html | 21 ++ ...tclasseventproperty-propertysignature.html | 25 ++ .../testinterfacemethod-methodsignature.html | 24 ++ ...stinterfaceproperty-propertysignature.html | 25 ++ ...alinterfaceproperty-propertysignature.html | 21 ++ .../index.html | 52 ++++ .../testmethod-methodsignature.html | 48 ++++ .../_indexer_-indexsignature.html | 20 ++ .../index.html | 37 +++ .../index.html | 62 +++++ .../testproperty-propertysignature.html | 25 ++ .../testmappedtype-typealias/index.html | 24 ++ .../testmodule-namespace/foo-variable.html | 20 ++ .../testmodule-namespace/index.html | 35 +++ .../testnamespace-namespace/index.html | 168 +++++++++++++ .../_constructor_-constructor.html | 39 +++ .../testclass-class/index.html | 77 ++++++ .../testclassmethod-method.html | 52 ++++ .../testclassproperty-property.html | 21 ++ .../testconst-variable.html | 21 ++ .../testenum-enum/index.html | 55 +++++ .../testenumvalue1-enummember.html | 20 ++ .../testenumvalue2-enummember.html | 20 ++ .../testfunction-function.html | 48 ++++ .../testinterface-interface/index.html | 64 +++++ .../testinterfacemethod-methodsignature.html | 21 ++ ...stinterfaceproperty-propertysignature.html | 22 ++ .../testsubnamespace-namespace/index.html | 20 ++ .../testtypealias-typealias/index.html | 20 ++ .../typealias-typealias/index.html | 24 ++ .../foo-interface/bar-propertysignature.html | 25 ++ .../test-suite-b/foo-interface/index.html | 39 +++ .../deep-config/test-suite-b/index.html | 31 +++ .../simple-suite-test/deep-config/index.md | 8 + .../deep-config/test-suite-a/index.md | 92 ++++++++ .../_constructor_-constructor.md | 18 ++ .../abstractpropertygetter-property.md | 13 + .../testabstractclass-class/index.md | 32 +++ .../protectedproperty-property.md | 13 + .../publicabstractmethod-method.md | 11 + .../sealedmethod-method.md | 18 ++ .../virtualmethod-method.md | 18 ++ .../_constructor_-constructor.md | 24 ++ .../abstractpropertygetter-property.md | 13 + .../test-suite-a/testclass-class/index.md | 68 ++++++ .../publicabstractmethod-method.md | 11 + .../testclasseventproperty-property.md | 17 ++ .../testclassgetterproperty-property.md | 19 ++ .../testclass-class/testclassmethod-method.md | 32 +++ .../testclassproperty-property.md | 17 ++ .../testclassstaticmethod-method.md | 23 ++ .../testclassstaticproperty-property.md | 13 + .../testclass-class/virtualmethod-method.md | 16 ++ .../test-suite-a/testconst-variable.md | 17 ++ ...tconstwithemptydeprecatedblock-variable.md | 15 ++ .../testemptyinterface-interface/index.md | 11 + .../test-suite-a/testenum-enum/index.md | 77 ++++++ .../testenumvalue1-enummember.md | 15 ++ .../testenumvalue2-enummember.md | 15 ++ .../testenumvalue3-enummember.md | 15 ++ .../test-suite-a/testfunction-function.md | 40 ++++ ...estfunctionreturninginlinetype-function.md | 20 ++ ...ctionreturningintersectiontype-function.md | 21 ++ ...testfunctionreturninguniontype-function.md | 17 ++ .../_call_-callsignature.md | 15 ++ .../_call__1-callsignature.md | 15 ++ .../_new_-constructsignature.md | 15 ++ .../getterproperty-property.md | 13 + .../testinterface-interface/index.md | 60 +++++ ...thbadinheritdoctarget-propertysignature.md | 11 + .../setterproperty-property.md | 14 ++ ...estclasseventproperty-propertysignature.md | 17 ++ .../testinterfacemethod-methodsignature.md | 15 ++ ...testinterfaceproperty-propertysignature.md | 17 ++ ...onalinterfaceproperty-propertysignature.md | 13 + .../index.md | 31 +++ .../testmethod-methodsignature.md | 27 +++ .../_indexer_-indexsignature.md | 13 + .../index.md | 17 ++ .../index.md | 27 +++ .../testproperty-propertysignature.md | 17 ++ .../testmappedtype-typealias/index.md | 17 ++ .../testmodule-namespace/foo-variable.md | 11 + .../testmodule-namespace/index.md | 9 + .../testnamespace-namespace/index.md | 77 ++++++ .../_constructor_-constructor.md | 17 ++ .../testclass-class/index.md | 29 +++ .../testclass-class/testclassmethod-method.md | 31 +++ .../testclassproperty-property.md | 13 + .../testconst-variable.md | 13 + .../testenum-enum/index.md | 34 +++ .../testenumvalue1-enummember.md | 11 + .../testenumvalue2-enummember.md | 11 + .../testfunction-function.md | 27 +++ .../testinterface-interface/index.md | 27 +++ .../testinterfacemethod-methodsignature.md | 13 + ...testinterfaceproperty-propertysignature.md | 15 ++ .../testsubnamespace-namespace/index.md | 11 + .../testtypealias-typealias/index.md | 11 + .../test-suite-a/typealias-typealias/index.md | 15 ++ .../foo-interface/bar-propertysignature.md | 17 ++ .../test-suite-b/foo-interface/index.md | 17 ++ .../deep-config/test-suite-b/index.md | 9 + 143 files changed, 4502 insertions(+), 71 deletions(-) create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/_constructor_-constructor.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/abstractpropertygetter-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/protectedproperty-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/publicabstractmethod-method.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/sealedmethod-method.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/virtualmethod-method.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/_constructor_-constructor.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/abstractpropertygetter-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/publicabstractmethod-method.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclasseventproperty-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassgetterproperty-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassmethod-method.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassproperty-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticmethod-method.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticproperty-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/virtualmethod-method.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testconst-variable.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testconstwithemptydeprecatedblock-variable.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testemptyinterface-interface/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue1-enummember.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue2-enummember.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue3-enummember.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunction-function.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturninginlinetype-function.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturningintersectiontype-function.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturninguniontype-function.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call_-callsignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call__1-callsignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_new_-constructsignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/getterproperty-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/setterproperty-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmappedtype-typealias/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/foo-variable.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testconst-variable.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testfunction-function.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testtypealias-typealias/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/typealias-typealias/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/foo-interface/bar-propertysignature.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/foo-interface/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/index.html create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/_constructor_-constructor.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/abstractpropertygetter-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/protectedproperty-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/publicabstractmethod-method.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/sealedmethod-method.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/virtualmethod-method.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/_constructor_-constructor.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/abstractpropertygetter-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/publicabstractmethod-method.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclasseventproperty-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassgetterproperty-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassmethod-method.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassproperty-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticmethod-method.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticproperty-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/virtualmethod-method.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testconst-variable.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testconstwithemptydeprecatedblock-variable.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testemptyinterface-interface/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue1-enummember.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue2-enummember.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue3-enummember.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunction-function.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturninginlinetype-function.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturningintersectiontype-function.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturninguniontype-function.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call_-callsignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call__1-callsignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_new_-constructsignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/getterproperty-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/setterproperty-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmappedtype-typealias/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/foo-variable.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testconst-variable.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testfunction-function.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testtypealias-typealias/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/typealias-typealias/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/foo-interface/bar-propertysignature.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/foo-interface/index.md create mode 100644 tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/index.md diff --git a/tools/api-markdown-documenter/src/test/EndToEndTestUtilities.ts b/tools/api-markdown-documenter/src/test/EndToEndTestUtilities.ts index 521cd8635cf9..f278f0bf15e8 100644 --- a/tools/api-markdown-documenter/src/test/EndToEndTestUtilities.ts +++ b/tools/api-markdown-documenter/src/test/EndToEndTestUtilities.ts @@ -12,6 +12,7 @@ import { expect } from "chai"; import { compare } from "dir-compare"; import { + ApiItemUtilities, FolderDocumentPlacement, HierarchyKind, type FolderHierarchyConfiguration, @@ -99,55 +100,54 @@ export namespace HierarchyConfigurations { [ApiItemKind.Variable]: HierarchyKind.Document, }; - // TODO - // const insideFolderOptions: FolderHierarchyConfiguration = { - // kind: HierarchyKind.Folder, - // documentPlacement: FolderDocumentPlacement.Inside, - // }; - // /** - // * "Deep" hierarchy: All "parent" API items generate hierarchy. All other items are rendered as documents under their parent hierarchy. - // * @remarks Leads to many documents, but each document is likely to be relatively small. - // */ - // export const deep: HierarchyOptions = { - // // Items that introduce folder hierarchy: - // [ApiItemKind.Namespace]: insideFolderOptions, - // [ApiItemKind.Package]: insideFolderOptions, - // [ApiItemKind.Class]: insideFolderOptions, - // [ApiItemKind.Enum]: insideFolderOptions, - // [ApiItemKind.Interface]: insideFolderOptions, - // [ApiItemKind.TypeAlias]: insideFolderOptions, - - // // Items that get their own document, but do not introduce folder hierarchy: - // [ApiItemKind.CallSignature]: HierarchyKind.Document, - // [ApiItemKind.Constructor]: HierarchyKind.Document, - // [ApiItemKind.ConstructSignature]: HierarchyKind.Document, - // [ApiItemKind.EnumMember]: HierarchyKind.Document, - // [ApiItemKind.Function]: HierarchyKind.Document, - // [ApiItemKind.IndexSignature]: HierarchyKind.Document, - // [ApiItemKind.Method]: HierarchyKind.Document, - // [ApiItemKind.MethodSignature]: HierarchyKind.Document, - // [ApiItemKind.Property]: HierarchyKind.Document, - // [ApiItemKind.PropertySignature]: HierarchyKind.Document, - // [ApiItemKind.Variable]: HierarchyKind.Document, - - // getDocumentName: (apiItem, config): string => { - // switch (apiItem.kind) { - // case ApiItemKind.Model: - // case ApiItemKind.Package: - // case ApiItemKind.Namespace: - // case ApiItemKind.Class: - // case ApiItemKind.Enum: - // case ApiItemKind.Interface: - // case ApiItemKind.TypeAlias: { - // return "index"; - // } - // default: { - // // Let the system generate a unique name that accounts for folder hierarchy. - // return ApiItemUtilities.createQualifiedDocumentNameForApiItem(apiItem, config); - // } - // } - // }, - // }; + const insideFolderOptions: FolderHierarchyConfiguration = { + kind: HierarchyKind.Folder, + documentPlacement: FolderDocumentPlacement.Inside, + }; + /** + * "Deep" hierarchy: All "parent" API items generate hierarchy. All other items are rendered as documents under their parent hierarchy. + * @remarks Leads to many documents, but each document is likely to be relatively small. + */ + export const deep: HierarchyOptions = { + // Items that introduce folder hierarchy: + [ApiItemKind.Namespace]: insideFolderOptions, + [ApiItemKind.Package]: insideFolderOptions, + [ApiItemKind.Class]: insideFolderOptions, + [ApiItemKind.Enum]: insideFolderOptions, + [ApiItemKind.Interface]: insideFolderOptions, + [ApiItemKind.TypeAlias]: insideFolderOptions, + + // Items that get their own document, but do not introduce folder hierarchy: + [ApiItemKind.CallSignature]: HierarchyKind.Document, + [ApiItemKind.Constructor]: HierarchyKind.Document, + [ApiItemKind.ConstructSignature]: HierarchyKind.Document, + [ApiItemKind.EnumMember]: HierarchyKind.Document, + [ApiItemKind.Function]: HierarchyKind.Document, + [ApiItemKind.IndexSignature]: HierarchyKind.Document, + [ApiItemKind.Method]: HierarchyKind.Document, + [ApiItemKind.MethodSignature]: HierarchyKind.Document, + [ApiItemKind.Property]: HierarchyKind.Document, + [ApiItemKind.PropertySignature]: HierarchyKind.Document, + [ApiItemKind.Variable]: HierarchyKind.Document, + + getDocumentName: (apiItem, config): string => { + switch (apiItem.kind) { + case ApiItemKind.Model: + case ApiItemKind.Package: + case ApiItemKind.Namespace: + case ApiItemKind.Class: + case ApiItemKind.Enum: + case ApiItemKind.Interface: + case ApiItemKind.TypeAlias: { + return "index"; + } + default: { + // Let the system generate a unique name that accounts for folder hierarchy. + return ApiItemUtilities.createQualifiedDocumentNameForApiItem(apiItem, config); + } + } + }, + }; } /** diff --git a/tools/api-markdown-documenter/src/test/HtmlEndToEnd.test.ts b/tools/api-markdown-documenter/src/test/HtmlEndToEnd.test.ts index 91105e623114..6c4f704d99ae 100644 --- a/tools/api-markdown-documenter/src/test/HtmlEndToEnd.test.ts +++ b/tools/api-markdown-documenter/src/test/HtmlEndToEnd.test.ts @@ -67,17 +67,16 @@ const testConfigs = new Map< }, ], - // TODO - // // A sample "deep" configuration. - // // All "parent" API items generate hierarchy. - // // All other items are rendered as documents under their parent hierarchy. - // [ - // "deep-config", - // { - // uriRoot: ".", - // hierarchy: HierarchyConfigurations.deep, - // }, - // ], + // A sample "deep" configuration. + // All "parent" API items generate hierarchy. + // All other items are rendered as documents under their parent hierarchy. + [ + "deep-config", + { + uriRoot: "", + hierarchy: HierarchyConfigurations.deep, + }, + ], ]); describe("HTML end-to-end tests", () => { diff --git a/tools/api-markdown-documenter/src/test/MarkdownEndToEnd.test.ts b/tools/api-markdown-documenter/src/test/MarkdownEndToEnd.test.ts index c11dafa4a1d8..237d684c57ce 100644 --- a/tools/api-markdown-documenter/src/test/MarkdownEndToEnd.test.ts +++ b/tools/api-markdown-documenter/src/test/MarkdownEndToEnd.test.ts @@ -67,17 +67,16 @@ const testConfigs = new Map< }, ], - // TODO - // // A sample "deep" configuration. - // // All "parent" API items generate hierarchy. - // // All other items are rendered as documents under their parent hierarchy. - // [ - // "deep-config", - // { - // uriRoot: ".", - // hierarchy: HierarchyConfigurations.deep, - // }, - // ], + // A sample "deep" configuration. + // All "parent" API items generate hierarchy. + // All other items are rendered as documents under their parent hierarchy. + [ + "deep-config", + { + uriRoot: "", + hierarchy: HierarchyConfigurations.deep, + }, + ], ]); describe("Markdown end-to-end tests", () => { diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/index.html new file mode 100644 index 000000000000..6a5ce56852d3 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/index.html @@ -0,0 +1,32 @@ + + + + + + +
+

API Overview

+
+

Packages

+ + + + + + + + + + + + + + + + + +
PackageDescription
test-suite-aTest package
test-suite-b
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/index.html new file mode 100644 index 000000000000..3093587b2115 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/index.html @@ -0,0 +1,222 @@ + + + + + + +
+

test-suite-a

+
+

Packages > test-suite-a

+
+
+

Test package

+
+
+

Remarks

+

+

This remarks block includes a bulleted list!

+

- Bullet 1

+

- Bullet 2

+

And an ordered list for good measure!

+

1. List item 1

+

2. List item 2

+

3. List item 3

+

Also, here is a link test, including a bad link, because we should have some reasonable support if this happens:

+

- Good link (no alias): TestClass

+

- Good link (with alias): function alias text

+

- Bad link (no alias): InvalidItem

+

- Bad link (with alias): even though I link to an invalid item, I would still like this text to be rendered

+

+
+
+

Example

+

+

A test example

const foo = bar; +

+
+
+

Interfaces

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
InterfaceDescription
TestEmptyInterfaceAn empty interface
TestInterfaceTest interface
TestInterfaceExtendingOtherInterfacesTest interface that extends other interfaces
TestInterfaceWithIndexSignatureAn interface with an index signature.
TestInterfaceWithTypeParameterTest interface with generic type parameter
+
+
+

Classes

+ + + + + + + + + + + + + + + + + +
ClassDescription
TestAbstractClassA test abstract class.
TestClassTest class
+
+
+

Enumerations

+ + + + + + + + + + + + + +
EnumDescription
TestEnumTest Enum
+
+
+

Types

+ + + + + + + + + + + + + + + + + +
TypeAliasDescription
TestMappedTypeTest Mapped Type, using TestEnum
TypeAliasTest Type-Alias
+
+
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FunctionAlertsReturn TypeDescription
testFunction(testParameter, testOptionalParameter)AlphaTTypeParameterTest function
testFunctionReturningInlineType(){ foo: number; bar: TestEnum; }Test function that returns an inline type
testFunctionReturningIntersectionType()DeprecatedTestEmptyInterface & TestInterfaceWithTypeParameter<number>Test function that returns an inline type
testFunctionReturningUnionType()string | TestInterfaceTest function that returns an inline type
+
+
+

Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableAlertsModifiersTypeDescription
testConstBetareadonlyTest Constant
testConstWithEmptyDeprecatedBlockDeprecatedreadonlystringI have a @deprecated tag with an empty comment block.
+
+
+

Namespaces

+ + + + + + + + + + + + + + + + + +
NamespaceDescription
TestModule
TestNamespaceTest Namespace
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/_constructor_-constructor.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/_constructor_-constructor.html new file mode 100644 index 000000000000..c91de6cbfc47 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/_constructor_-constructor.html @@ -0,0 +1,44 @@ + + + + + + +
+

(constructor)

+
+

Packages > test-suite-a > TestAbstractClass > (constructor)(privateProperty, protectedProperty)

+
+
+

This is a {@customTag constructor}.

+
+
+

Signature

protected constructor(privateProperty: number, protectedProperty: TestEnum); +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
privatePropertynumber
protectedPropertyTestEnum
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/abstractpropertygetter-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/abstractpropertygetter-property.html new file mode 100644 index 000000000000..08e0181419f2 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/abstractpropertygetter-property.html @@ -0,0 +1,21 @@ + + + + + + +
+

abstractPropertyGetter

+
+

Packages > test-suite-a > TestAbstractClass > abstractPropertyGetter

+
+
+

A test abstract getter property.

+
+
+

Signature

abstract get abstractPropertyGetter(): TestMappedType; +

Type: TestMappedType

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/index.html new file mode 100644 index 000000000000..e5664887f6ec --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/index.html @@ -0,0 +1,97 @@ + + + + + + +
+

TestAbstractClass

+
+

Packages > test-suite-a > TestAbstractClass

+
+
+

A test abstract class.

+
+
+

Signature

export declare abstract class TestAbstractClass +
+
+

Constructors

+ + + + + + + + + + + + + +
ConstructorDescription
(constructor)(privateProperty, protectedProperty)This is a {@customTag constructor}.
+
+
+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + +
PropertyModifiersTypeDescription
abstractPropertyGetterreadonlyTestMappedTypeA test abstract getter property.
protectedPropertyreadonlyTestEnumA test protected property.
+
+
+

Methods

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodModifiersReturn TypeDescription
publicAbstractMethod()voidA test public abstract method.
sealedMethod()sealedstringA test @sealed method.
virtualMethod()virtualnumberA test @virtual method.
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/protectedproperty-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/protectedproperty-property.html new file mode 100644 index 000000000000..8573168e82c5 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/protectedproperty-property.html @@ -0,0 +1,21 @@ + + + + + + +
+

protectedProperty

+
+

Packages > test-suite-a > TestAbstractClass > protectedProperty

+
+
+

A test protected property.

+
+
+

Signature

protected readonly protectedProperty: TestEnum; +

Type: TestEnum

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/publicabstractmethod-method.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/publicabstractmethod-method.html new file mode 100644 index 000000000000..4c0a1e4fb45b --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/publicabstractmethod-method.html @@ -0,0 +1,20 @@ + + + + + + +
+

publicAbstractMethod

+
+

Packages > test-suite-a > TestAbstractClass > publicAbstractMethod()

+
+
+

A test public abstract method.

+
+
+

Signature

abstract publicAbstractMethod(): void; +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/sealedmethod-method.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/sealedmethod-method.html new file mode 100644 index 000000000000..10025dcc2fdd --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/sealedmethod-method.html @@ -0,0 +1,25 @@ + + + + + + +
+

sealedMethod

+
+

Packages > test-suite-a > TestAbstractClass > sealedMethod()

+
+
+

A test @sealed method.

+
+
+

Signature

/** @sealed */
protected sealedMethod(): string;
+
+
+

Returns

+

A string!

+

Return type: string

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/virtualmethod-method.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/virtualmethod-method.html new file mode 100644 index 000000000000..7c04897ba9b1 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/virtualmethod-method.html @@ -0,0 +1,25 @@ + + + + + + +
+

virtualMethod

+
+

Packages > test-suite-a > TestAbstractClass > virtualMethod()

+
+
+

A test @virtual method.

+
+
+

Signature

/** @virtual */
protected virtualMethod(): number;
+
+
+

Returns

+

A number!

+

Return type: number

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/_constructor_-constructor.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/_constructor_-constructor.html new file mode 100644 index 000000000000..e4cdb29f7066 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/_constructor_-constructor.html @@ -0,0 +1,61 @@ + + + + + + +
+

(constructor)

+
+

Packages > test-suite-a > TestClass > (constructor)(privateProperty, protectedProperty, testClassProperty, testClassEventProperty)

+
+
+

Test class constructor

+
+
+

Signature

constructor(privateProperty: number, protectedProperty: TestEnum, testClassProperty: TTypeParameterB, testClassEventProperty: () => void); +
+
+

Remarks

+

Here are some remarks about the constructor

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
privatePropertynumberSee TestAbstractClass's constructor.
protectedPropertyTestEnum +

Some notes about the parameter.

+

See protectedProperty.

+
testClassPropertyTTypeParameterBSee testClassProperty.
testClassEventProperty() => voidSee testClassEventProperty.
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/abstractpropertygetter-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/abstractpropertygetter-property.html new file mode 100644 index 000000000000..f84b62bb3775 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/abstractpropertygetter-property.html @@ -0,0 +1,21 @@ + + + + + + +
+

abstractPropertyGetter

+
+

Packages > test-suite-a > TestClass > abstractPropertyGetter

+
+
+

A test abstract getter property.

+
+
+

Signature

get abstractPropertyGetter(): TestMappedType; +

Type: TestMappedType

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/index.html new file mode 100644 index 000000000000..984ef1c9a177 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/index.html @@ -0,0 +1,196 @@ + + + + + + +
+

TestClass

+
+

Packages > test-suite-a > TestClass

+
+
+

Test class

+
+
+

Signature

export declare class TestClass<TTypeParameterA, TTypeParameterB> extends TestAbstractClass +

+

Extends: TestAbstractClass

+

+

+

Type Parameters

+ + + + + + + + + + + + + + + + + +
ParameterDescription
TTypeParameterAA type parameter
TTypeParameterBAnother type parameter
+
+

+

+
+
+

Remarks

+

Here are some remarks about the class

+
+
+

Constructors

+ + + + + + + + + + + + + +
ConstructorDescription
(constructor)(privateProperty, protectedProperty, testClassProperty, testClassEventProperty)Test class constructor
+
+
+

Static Properties

+ + + + + + + + + + + + + + + +
PropertyTypeDescription
testClassStaticProperty(foo: number) => stringTest static class property
+
+
+

Static Methods

+ + + + + + + + + + + + + + + +
MethodReturn TypeDescription
testClassStaticMethod(foo)stringTest class static method
+
+
+

Events

+ + + + + + + + + + + + + + + + + +
PropertyModifiersTypeDescription
testClassEventPropertyreadonly() => voidTest class event property
+
+
+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyModifiersTypeDescription
abstractPropertyGetterreadonlyTestMappedTypeA test abstract getter property.
testClassGetterPropertyvirtualnumberTest class property with both a getter and a setter.
testClassPropertyreadonlyTTypeParameterBTest class property
+
+
+

Methods

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodModifiersReturn TypeDescription
publicAbstractMethod()voidA test public abstract method.
testClassMethod(input)sealedTTypeParameterATest class method
virtualMethod()numberOverrides virtualMethod().
+
+
+

See Also

+

TestAbstractClass

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/publicabstractmethod-method.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/publicabstractmethod-method.html new file mode 100644 index 000000000000..776d6c0de749 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/publicabstractmethod-method.html @@ -0,0 +1,20 @@ + + + + + + +
+

publicAbstractMethod

+
+

Packages > test-suite-a > TestClass > publicAbstractMethod()

+
+
+

A test public abstract method.

+
+
+

Signature

publicAbstractMethod(): void; +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclasseventproperty-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclasseventproperty-property.html new file mode 100644 index 000000000000..b5c397d0661c --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclasseventproperty-property.html @@ -0,0 +1,25 @@ + + + + + + +
+

testClassEventProperty

+
+

Packages > test-suite-a > TestClass > testClassEventProperty

+
+
+

Test class event property

+
+
+

Signature

readonly testClassEventProperty: () => void; +

Type: () => void

+
+
+

Remarks

+

Here are some remarks about the property

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassgetterproperty-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassgetterproperty-property.html new file mode 100644 index 000000000000..a3d68d60f465 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassgetterproperty-property.html @@ -0,0 +1,25 @@ + + + + + + +
+

testClassGetterProperty

+
+

Packages > test-suite-a > TestClass > testClassGetterProperty

+
+
+

Test class property with both a getter and a setter.

+
+
+

Signature

/** @virtual */
get testClassGetterProperty(): number;


set testClassGetterProperty(newValue: number);
+

Type: number

+
+
+

Remarks

+

Here are some remarks about the getter-only property

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassmethod-method.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassmethod-method.html new file mode 100644 index 000000000000..64098727c24e --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassmethod-method.html @@ -0,0 +1,52 @@ + + + + + + +
+

testClassMethod

+
+

Packages > test-suite-a > TestClass > testClassMethod(input)

+
+
+

Test class method

+
+
+

Signature

/** @sealed */
testClassMethod(input: TTypeParameterA): TTypeParameterA;
+
+
+

Remarks

+

Here are some remarks about the method

+
+
+

Parameters

+ + + + + + + + + + + + + + + +
ParameterTypeDescription
inputTTypeParameterA
+
+
+

Returns

+

Return type: TTypeParameterA

+
+
+

Throws

+

Some sort of error in 1 case.

+

Some other sort of error in another case. For example, a case where some thing happens.

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassproperty-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassproperty-property.html new file mode 100644 index 000000000000..e915f659c65f --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassproperty-property.html @@ -0,0 +1,25 @@ + + + + + + +
+

testClassProperty

+
+

Packages > test-suite-a > TestClass > testClassProperty

+
+
+

Test class property

+
+
+

Signature

readonly testClassProperty: TTypeParameterB; +

Type: TTypeParameterB

+
+
+

Remarks

+

Here are some remarks about the property

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticmethod-method.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticmethod-method.html new file mode 100644 index 000000000000..49d23b483fab --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticmethod-method.html @@ -0,0 +1,44 @@ + + + + + + +
+

testClassStaticMethod

+
+

Packages > test-suite-a > TestClass > testClassStaticMethod(foo)

+
+
+

Test class static method

+
+
+

Signature

static testClassStaticMethod(foo: number): string; +
+
+

Parameters

+ + + + + + + + + + + + + + + +
ParameterTypeDescription
foonumberSome number
+
+
+

Returns

+

- Some string

+

Return type: string

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticproperty-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticproperty-property.html new file mode 100644 index 000000000000..8a837e35c3a2 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticproperty-property.html @@ -0,0 +1,21 @@ + + + + + + +
+

testClassStaticProperty

+
+

Packages > test-suite-a > TestClass > testClassStaticProperty

+
+
+

Test static class property

+
+
+

Signature

static testClassStaticProperty: (foo: number) => string; +

Type: (foo: number) => string

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/virtualmethod-method.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/virtualmethod-method.html new file mode 100644 index 000000000000..f6027b39dd70 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testclass-class/virtualmethod-method.html @@ -0,0 +1,24 @@ + + + + + + +
+

virtualMethod

+
+

Packages > test-suite-a > TestClass > virtualMethod()

+
+
+

Overrides virtualMethod().

+
+
+

Signature

/** @override */
protected virtualMethod(): number;
+
+
+

Returns

+

Return type: number

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testconst-variable.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testconst-variable.html new file mode 100644 index 000000000000..7bba7e387a37 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testconst-variable.html @@ -0,0 +1,25 @@ + + + + + + +
+

testConst

+
+

Packages > test-suite-a > testConst

+
+
+

Test Constant

+
+
WARNING: This API is provided as a beta preview and may change without notice. Use at your own risk.
+
+

Signature

testConst = 42 +
+
+

Remarks

+

Here are some remarks about the variable

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testconstwithemptydeprecatedblock-variable.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testconstwithemptydeprecatedblock-variable.html new file mode 100644 index 000000000000..8a58c1dfdea4 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testconstwithemptydeprecatedblock-variable.html @@ -0,0 +1,24 @@ + + + + + + +
+

testConstWithEmptyDeprecatedBlock

+
+

Packages > test-suite-a > testConstWithEmptyDeprecatedBlock

+
+
+

I have a @deprecated tag with an empty comment block.

+
+
+

WARNING: This API is deprecated and will be removed in a future release.

+
+
+

Signature

testConstWithEmptyDeprecatedBlock: string +

Type: string

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testemptyinterface-interface/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testemptyinterface-interface/index.html new file mode 100644 index 000000000000..1d24fda211d6 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testemptyinterface-interface/index.html @@ -0,0 +1,20 @@ + + + + + + +
+

TestEmptyInterface

+
+

Packages > test-suite-a > TestEmptyInterface

+
+
+

An empty interface

+
+
+

Signature

export interface TestEmptyInterface +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/index.html new file mode 100644 index 000000000000..ad81ef64f324 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/index.html @@ -0,0 +1,96 @@ + + + + + + +
+

TestEnum

+
+

Packages > test-suite-a > TestEnum

+
+
+

Test Enum

+
+
+

Signature

export declare enum TestEnum +
+
+

Remarks

+

Here are some remarks about the enum

+
+
+

Examples

+
+

Example 1

+

+

Some example

const foo = TestEnum.TestEnumValue1 +

+
+
+

Example 2

+

+

Another example

const bar = TestEnum.TestEnumValue2 +

+
+
+
+

Flags

+ + + + + + + + + + + + + + + + + + + + + +
FlagDescription
TestEnumValue1Test enum value 1 (string)
TestEnumValue2Test enum value 2 (number)
TestEnumValue3Test enum value 3 (default)
+
+
+
+

Test enum value 1 (string)

+
+
+

Signature

TestEnumValue1 = "test-enum-value-1" +
+
+

Remarks

+

Here are some remarks about the enum value

+
+
+

Test enum value 2 (number)

+
+
+

Signature

TestEnumValue2 = 3 +
+
+

Remarks

+

Here are some remarks about the enum value

+
+
+

Test enum value 3 (default)

+
+
+

Signature

TestEnumValue3 = 4 +
+
+

Remarks

+

Here are some remarks about the enum value

+
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue1-enummember.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue1-enummember.html new file mode 100644 index 000000000000..d16e6e712c73 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue1-enummember.html @@ -0,0 +1,24 @@ + + + + + + +
+

TestEnumValue1

+
+

Packages > test-suite-a > TestEnum > TestEnumValue1

+
+
+

Test enum value 1 (string)

+
+
+

Signature

TestEnumValue1 = "test-enum-value-1" +
+
+

Remarks

+

Here are some remarks about the enum value

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue2-enummember.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue2-enummember.html new file mode 100644 index 000000000000..3d10fcc0ba3b --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue2-enummember.html @@ -0,0 +1,24 @@ + + + + + + +
+

TestEnumValue2

+
+

Packages > test-suite-a > TestEnum > TestEnumValue2

+
+
+

Test enum value 2 (number)

+
+
+

Signature

TestEnumValue2 = 3 +
+
+

Remarks

+

Here are some remarks about the enum value

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue3-enummember.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue3-enummember.html new file mode 100644 index 000000000000..25d26c5c9acc --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue3-enummember.html @@ -0,0 +1,24 @@ + + + + + + +
+

TestEnumValue3

+
+

Packages > test-suite-a > TestEnum > TestEnumValue3

+
+
+

Test enum value 3 (default)

+
+
+

Signature

TestEnumValue3 = 4 +
+
+

Remarks

+

Here are some remarks about the enum value

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunction-function.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunction-function.html new file mode 100644 index 000000000000..4d36e3bca0f3 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunction-function.html @@ -0,0 +1,84 @@ + + + + + + +
+

testFunction

+
+

Packages > test-suite-a > testFunction(testParameter, testOptionalParameter)

+
+
+

Test function

+
+
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
+
+

Signature

export declare function testFunction<TTypeParameter extends TestInterface = TestInterface>(testParameter: TTypeParameter, testOptionalParameter?: TTypeParameter): TTypeParameter; +

+

+

Type Parameters

+ + + + + + + + + + + + + + + + + +
ParameterConstraintDefaultDescription
TTypeParameterTestInterfaceTestInterfaceA test type parameter
+
+

+
+
+

Remarks

+

This is a test link to another API member

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
ParameterModifiersTypeDescription
testParameterTTypeParameterA test parameter
testOptionalParameteroptionalTTypeParameter
+
+
+

Returns

+

The provided parameter

+

Return type: TTypeParameter

+
+
+

Throws

+

An Error when something bad happens.

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturninginlinetype-function.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturninginlinetype-function.html new file mode 100644 index 000000000000..1661bf47389a --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturninginlinetype-function.html @@ -0,0 +1,25 @@ + + + + + + +
+

testFunctionReturningInlineType

+
+

Packages > test-suite-a > testFunctionReturningInlineType()

+
+
+

Test function that returns an inline type

+
+
+

Signature

export declare function testFunctionReturningInlineType(): {
foo: number;
bar: TestEnum;
};
+
+
+

Returns

+

An inline type

+

Return type: { foo: number; bar: TestEnum; }

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturningintersectiontype-function.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturningintersectiontype-function.html new file mode 100644 index 000000000000..102ca5b89871 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturningintersectiontype-function.html @@ -0,0 +1,28 @@ + + + + + + +
+

testFunctionReturningIntersectionType

+
+

Packages > test-suite-a > testFunctionReturningIntersectionType()

+
+
+

Test function that returns an inline type

+
+
+

WARNING: This API is deprecated and will be removed in a future release.

This is a test deprecation notice. Here is a link to something else!

+
+
+

Signature

export declare function testFunctionReturningIntersectionType(): TestEmptyInterface & TestInterfaceWithTypeParameter<number>; +
+
+

Returns

+

an intersection type

+

Return type: TestEmptyInterface & TestInterfaceWithTypeParameter<number>

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturninguniontype-function.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturninguniontype-function.html new file mode 100644 index 000000000000..42041695ff67 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testfunctionreturninguniontype-function.html @@ -0,0 +1,25 @@ + + + + + + +
+

testFunctionReturningUnionType

+
+

Packages > test-suite-a > testFunctionReturningUnionType()

+
+
+

Test function that returns an inline type

+
+
+

Signature

export declare function testFunctionReturningUnionType(): string | TestInterface; +
+
+

Returns

+

A union type

+

Return type: string | TestInterface

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call_-callsignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call_-callsignature.html new file mode 100644 index 000000000000..036246857f5b --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call_-callsignature.html @@ -0,0 +1,24 @@ + + + + + + +
+

(event: 'testCallSignature', listener: (input: unknown) => void): any

+
+

Packages > test-suite-a > TestInterface > (event: 'testCallSignature', listener: (input: unknown) => void): any

+
+
+

Test interface event call signature

+
+
+

Signature

(event: 'testCallSignature', listener: (input: unknown) => void): any; +
+
+

Remarks

+

Here are some remarks about the event call signature

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call__1-callsignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call__1-callsignature.html new file mode 100644 index 000000000000..e9d867951da9 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call__1-callsignature.html @@ -0,0 +1,24 @@ + + + + + + +
+

(event: 'anotherTestCallSignature', listener: (input: number) => string): number

+
+

Packages > test-suite-a > TestInterface > (event: 'anotherTestCallSignature', listener: (input: number) => string): number

+
+
+

Another example call signature

+
+
+

Signature

(event: 'anotherTestCallSignature', listener: (input: number) => string): number; +
+
+

Remarks

+

Here are some remarks about the event call signature

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_new_-constructsignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_new_-constructsignature.html new file mode 100644 index 000000000000..7bfe61f18351 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_new_-constructsignature.html @@ -0,0 +1,24 @@ + + + + + + +
+

new (): TestInterface

+
+

Packages > test-suite-a > TestInterface > new (): TestInterface

+
+
+

Test construct signature.

+
+
+

Signature

new (): TestInterface; +
+
+

Returns

+

Return type: TestInterface

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/getterproperty-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/getterproperty-property.html new file mode 100644 index 000000000000..b43377f8e6e2 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/getterproperty-property.html @@ -0,0 +1,21 @@ + + + + + + +
+

getterProperty

+
+

Packages > test-suite-a > TestInterface > getterProperty

+
+
+

A test getter-only interface property.

+
+
+

Signature

get getterProperty(): boolean; +

Type: boolean

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/index.html new file mode 100644 index 000000000000..25ffe15dd24f --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/index.html @@ -0,0 +1,162 @@ + + + + + + +
+

TestInterface

+
+

Packages > test-suite-a > TestInterface

+
+
+

Test interface

+
+
+

Signature

export interface TestInterface +
+
+

Remarks

+

Here are some remarks about the interface

+
+
+

Construct Signatures

+ + + + + + + + + + + + + + + +
ConstructSignatureReturn TypeDescription
new (): TestInterfaceTestInterfaceTest construct signature.
+
+
+

Events

+ + + + + + + + + + + + + + + + + +
PropertyModifiersTypeDescription
testClassEventPropertyreadonly() => voidTest interface event property
+
+
+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyModifiersDefault ValueTypeDescription
getterPropertyreadonlybooleanA test getter-only interface property.
propertyWithBadInheritDocTargetboolean
setterPropertybooleanA test property with a getter and a setter.
testInterfacePropertynumberTest interface property
testOptionalInterfacePropertyoptional0numberTest optional property
+
+
+

Methods

+ + + + + + + + + + + + + + + +
MethodReturn TypeDescription
testInterfaceMethod()voidTest interface method
+
+
+

Call Signatures

+ + + + + + + + + + + + + + + + + +
CallSignatureDescription
(event: 'testCallSignature', listener: (input: unknown) => void): anyTest interface event call signature
(event: 'anotherTestCallSignature', listener: (input: number) => string): numberAnother example call signature
+
+
+

See Also

+

testInterfaceMethod()

+

testInterfaceProperty

+

testOptionalInterfaceProperty

+

testClassEventProperty

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature.html new file mode 100644 index 000000000000..a0183ef2cde0 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature.html @@ -0,0 +1,21 @@ + + + + + + +
+

propertyWithBadInheritDocTarget

+
+

Packages > test-suite-a > TestInterface > propertyWithBadInheritDocTarget

+
+
+

+
+
+

Signature

propertyWithBadInheritDocTarget: boolean; +

Type: boolean

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/setterproperty-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/setterproperty-property.html new file mode 100644 index 000000000000..24f0f3ad0e4d --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/setterproperty-property.html @@ -0,0 +1,21 @@ + + + + + + +
+

setterProperty

+
+

Packages > test-suite-a > TestInterface > setterProperty

+
+
+

A test property with a getter and a setter.

+
+
+

Signature

get setterProperty(): boolean;


set setterProperty(newValue: boolean);
+

Type: boolean

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature.html new file mode 100644 index 000000000000..45536a2a8b22 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature.html @@ -0,0 +1,25 @@ + + + + + + +
+

testClassEventProperty

+
+

Packages > test-suite-a > TestInterface > testClassEventProperty

+
+
+

Test interface event property

+
+
+

Signature

readonly testClassEventProperty: () => void; +

Type: () => void

+
+
+

Remarks

+

Here are some remarks about the event property

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature.html new file mode 100644 index 000000000000..9839e96c9f7d --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature.html @@ -0,0 +1,24 @@ + + + + + + +
+

testInterfaceMethod

+
+

Packages > test-suite-a > TestInterface > testInterfaceMethod()

+
+
+

Test interface method

+
+
+

Signature

testInterfaceMethod(): void; +
+
+

Remarks

+

Here are some remarks about the method

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature.html new file mode 100644 index 000000000000..2c771cfae9b3 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature.html @@ -0,0 +1,25 @@ + + + + + + +
+

testInterfaceProperty

+
+

Packages > test-suite-a > TestInterface > testInterfaceProperty

+
+
+

Test interface property

+
+
+

Signature

testInterfaceProperty: number; +

Type: number

+
+
+

Remarks

+

Here are some remarks about the property

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature.html new file mode 100644 index 000000000000..e06d54216c0b --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature.html @@ -0,0 +1,21 @@ + + + + + + +
+

testOptionalInterfaceProperty

+
+

Packages > test-suite-a > TestInterface > testOptionalInterfaceProperty

+
+
+

Test optional property

+
+
+

Signature

testOptionalInterfaceProperty?: number; +

Type: number

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/index.html new file mode 100644 index 000000000000..16108d567825 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/index.html @@ -0,0 +1,52 @@ + + + + + + +
+

TestInterfaceExtendingOtherInterfaces

+
+

Packages > test-suite-a > TestInterfaceExtendingOtherInterfaces

+
+
+

Test interface that extends other interfaces

+
+
+

Signature

export interface TestInterfaceExtendingOtherInterfaces extends TestInterface, TestMappedType, TestInterfaceWithTypeParameter<number> +

Extends: TestInterface, TestMappedType, TestInterfaceWithTypeParameter<number>

+
+
+

Remarks

+

Here are some remarks about the interface

+
+
+

Methods

+ + + + + + + + + + + + + + + +
MethodReturn TypeDescription
testMethod(input)numberTest interface method accepting a string and returning a number.
+
+
+

See Also

+

+

- TestInterface

+

- TestInterfaceWithTypeParameter

+

- TestMappedType

+

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature.html new file mode 100644 index 000000000000..c212b6a29a1c --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature.html @@ -0,0 +1,48 @@ + + + + + + +
+

testMethod

+
+

Packages > test-suite-a > TestInterfaceExtendingOtherInterfaces > testMethod(input)

+
+
+

Test interface method accepting a string and returning a number.

+
+
+

Signature

testMethod(input: string): number; +
+
+

Remarks

+

Here are some remarks about the method

+
+
+

Parameters

+ + + + + + + + + + + + + + + +
ParameterTypeDescription
inputstringA string
+
+
+

Returns

+

A number

+

Return type: number

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature.html new file mode 100644 index 000000000000..0d72d617351e --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature.html @@ -0,0 +1,20 @@ + + + + + + +
+

[foo: number]: { bar: string; }

+
+

Packages > test-suite-a > TestInterfaceWithIndexSignature > [foo: number]: { bar: string; }

+
+
+

Test index signature.

+
+
+

Signature

[foo: number]: {
bar: string;
};
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/index.html new file mode 100644 index 000000000000..dc4845e9a73f --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/index.html @@ -0,0 +1,37 @@ + + + + + + +
+

TestInterfaceWithIndexSignature

+
+

Packages > test-suite-a > TestInterfaceWithIndexSignature

+
+
+

An interface with an index signature.

+
+
+

Signature

export interface TestInterfaceWithIndexSignature +
+
+

Index Signatures

+ + + + + + + + + + + + + +
IndexSignatureDescription
[foo: number]: { bar: string; }Test index signature.
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/index.html new file mode 100644 index 000000000000..3978188ce5b1 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/index.html @@ -0,0 +1,62 @@ + + + + + + +
+

TestInterfaceWithTypeParameter

+
+

Packages > test-suite-a > TestInterfaceWithTypeParameter

+
+
+

Test interface with generic type parameter

+
+
+

Signature

export interface TestInterfaceWithTypeParameter<T> +

+

+

Type Parameters

+ + + + + + + + + + + + + +
ParameterDescription
TA type parameter
+
+

+
+
+

Remarks

+

Here are some remarks about the interface

+
+
+

Properties

+ + + + + + + + + + + + + + + +
PropertyTypeDescription
testPropertyTA test interface property using generic type parameter
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature.html new file mode 100644 index 000000000000..60f19b15d510 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature.html @@ -0,0 +1,25 @@ + + + + + + +
+

testProperty

+
+

Packages > test-suite-a > TestInterfaceWithTypeParameter > testProperty

+
+
+

A test interface property using generic type parameter

+
+
+

Signature

testProperty: T; +

Type: T

+
+
+

Remarks

+

Here are some remarks about the property

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmappedtype-typealias/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmappedtype-typealias/index.html new file mode 100644 index 000000000000..54dcd6756c89 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmappedtype-typealias/index.html @@ -0,0 +1,24 @@ + + + + + + +
+

TestMappedType

+
+

Packages > test-suite-a > TestMappedType

+
+
+

Test Mapped Type, using TestEnum

+
+
+

Signature

export type TestMappedType = {
[K in TestEnum]: boolean;
};
+
+
+

Remarks

+

Here are some remarks about the mapped type

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/foo-variable.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/foo-variable.html new file mode 100644 index 000000000000..1828705bef55 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/foo-variable.html @@ -0,0 +1,20 @@ + + + + + + +
+

foo

+
+

Packages > test-suite-a > TestModule > foo

+
+
+

Test constant in module.

+
+
+

Signature

foo = 2 +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/index.html new file mode 100644 index 000000000000..e64ddbc2048e --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/index.html @@ -0,0 +1,35 @@ + + + + + + +
+

TestModule

+
+

Packages > test-suite-a > TestModule

+
+
+

Variables

+ + + + + + + + + + + + + + + + + +
VariableModifiersTypeDescription
fooreadonlyTest constant in module.
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/index.html new file mode 100644 index 000000000000..4bbe9385dd4f --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/index.html @@ -0,0 +1,168 @@ + + + + + + +
+

TestNamespace

+
+

Packages > test-suite-a > TestNamespace

+
+
+

Test Namespace

+
+
+

Signature

export declare namespace TestNamespace +
+
+

Remarks

+

Here are some remarks about the namespace

+
+
+

Examples

+
+

Example: TypeScript Example

+

+

const foo: Foo = {
bar: "Hello world!";
baz = 42;
};
+

+
+
+

Example: JavaScript Example

+

+

const foo = {
bar: "Hello world!";
baz = 42;
};
+

+
+
+
+

Interfaces

+ + + + + + + + + + + + + + + +
InterfaceAlertsDescription
TestInterfaceAlphaTest interface
+
+
+

Classes

+ + + + + + + + + + + + + +
ClassDescription
TestClassTest class
+
+
+

Enumerations

+ + + + + + + + + + + + + +
EnumDescription
TestEnumTest Enum
+
+
+

Types

+ + + + + + + + + + + + + +
TypeAliasDescription
TestTypeAliasTest Type-Alias
+
+
+

Functions

+ + + + + + + + + + + + + + + +
FunctionReturn TypeDescription
testFunction(testParameter)numberTest function
+
+
+

Variables

+ + + + + + + + + + + + + + + + + + + +
VariableAlertsModifiersTypeDescription
TestConstBetareadonlyTest Constant
+
+
+

Namespaces

+ + + + + + + + + + + + + +
NamespaceDescription
TestSubNamespaceTest sub-namespace
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor.html new file mode 100644 index 000000000000..35b43006517b --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor.html @@ -0,0 +1,39 @@ + + + + + + +
+

(constructor)

+
+

Packages > test-suite-a > TestNamespace > TestClass > (constructor)(testClassProperty)

+
+
+

Test class constructor

+
+
+

Signature

constructor(testClassProperty: string); +
+
+

Parameters

+ + + + + + + + + + + + + + + +
ParameterTypeDescription
testClassPropertystringSee testClassProperty
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/index.html new file mode 100644 index 000000000000..16bc2c924837 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/index.html @@ -0,0 +1,77 @@ + + + + + + +
+

TestClass

+
+

Packages > test-suite-a > TestNamespace > TestClass

+
+
+

Test class

+
+
+

Signature

class TestClass +
+
+

Constructors

+ + + + + + + + + + + + + +
ConstructorDescription
(constructor)(testClassProperty)Test class constructor
+
+
+

Properties

+ + + + + + + + + + + + + + + + + +
PropertyModifiersTypeDescription
testClassPropertyreadonlystringTest interface property
+
+
+

Methods

+ + + + + + + + + + + + + + + +
MethodReturn TypeDescription
testClassMethod(testParameter)Promise<string>Test class method
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method.html new file mode 100644 index 000000000000..0c5155f1e735 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method.html @@ -0,0 +1,52 @@ + + + + + + +
+

testClassMethod

+
+

Packages > test-suite-a > TestNamespace > TestClass > testClassMethod(testParameter)

+
+
+

Test class method

+
+
+

Signature

testClassMethod(testParameter: string): Promise<string>; +
+
+

Parameters

+ + + + + + + + + + + + + + + +
ParameterTypeDescription
testParameterstringA string
+
+
+

Returns

+

A Promise

+

Return type: Promise<string>

+
+
+

Throws

+

An Error when something happens for which an error should be thrown. Except in the cases where another kind of error is thrown. We don't throw this error in those cases.

+

+

A different kind of error when a thing happens, but not when the first kind of error is thrown instead.

+

😁

+

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property.html new file mode 100644 index 000000000000..7a030276db71 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property.html @@ -0,0 +1,21 @@ + + + + + + +
+

testClassProperty

+
+

Packages > test-suite-a > TestNamespace > TestClass > testClassProperty

+
+
+

Test interface property

+
+
+

Signature

readonly testClassProperty: string; +

Type: string

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testconst-variable.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testconst-variable.html new file mode 100644 index 000000000000..11bab067b1e8 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testconst-variable.html @@ -0,0 +1,21 @@ + + + + + + +
+

TestConst

+
+

Packages > test-suite-a > TestNamespace > TestConst

+
+
+

Test Constant

+
+
WARNING: This API is provided as a beta preview and may change without notice. Use at your own risk.
+
+

Signature

TestConst = "Hello world!" +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/index.html new file mode 100644 index 000000000000..0c35326e7622 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/index.html @@ -0,0 +1,55 @@ + + + + + + +
+

TestEnum

+
+

Packages > test-suite-a > TestNamespace > TestEnum

+
+
+

Test Enum

+
+
+

Signature

enum TestEnum +
+
+

Flags

+ + + + + + + + + + + + + + + + + +
FlagDescription
TestEnumValue1Test enum value 1
TestEnumValue2Test enum value 2
+
+
+
+

Test enum value 1

+
+
+

Signature

TestEnumValue1 = 0 +
+
+

Test enum value 2

+
+
+

Signature

TestEnumValue2 = 1 +
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember.html new file mode 100644 index 000000000000..53f7782fb7ef --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember.html @@ -0,0 +1,20 @@ + + + + + + +
+

TestEnumValue1

+
+

Packages > test-suite-a > TestNamespace > TestEnum > TestEnumValue1

+
+
+

Test enum value 1

+
+
+

Signature

TestEnumValue1 = 0 +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember.html new file mode 100644 index 000000000000..e7ddd8d839b2 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember.html @@ -0,0 +1,20 @@ + + + + + + +
+

TestEnumValue2

+
+

Packages > test-suite-a > TestNamespace > TestEnum > TestEnumValue2

+
+
+

Test enum value 2

+
+
+

Signature

TestEnumValue2 = 1 +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testfunction-function.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testfunction-function.html new file mode 100644 index 000000000000..49bf794ee82f --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testfunction-function.html @@ -0,0 +1,48 @@ + + + + + + +
+

testFunction

+
+

Packages > test-suite-a > TestNamespace > testFunction(testParameter)

+
+
+

Test function

+
+
+

Signature

function testFunction(testParameter: number): number; +
+
+

Parameters

+ + + + + + + + + + + + + + + +
ParameterTypeDescription
testParameternumber
+
+
+

Returns

+

A number

+

Return type: number

+
+
+

Throws

+

An Error

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/index.html new file mode 100644 index 000000000000..e7c922c1b466 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/index.html @@ -0,0 +1,64 @@ + + + + + + +
+

TestInterface

+
+

Packages > test-suite-a > TestNamespace > TestInterface

+
+
+

Test interface

+
+
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
+
+

Signature

interface TestInterface extends TestInterfaceWithTypeParameter<TestEnum> +

Extends: TestInterfaceWithTypeParameter<TestEnum>

+
+
+

Properties

+ + + + + + + + + + + + + + + + + +
PropertyAlertsTypeDescription
testInterfacePropertyAlphabooleanTest interface property
+
+
+

Methods

+ + + + + + + + + + + + + + + + + +
MethodAlertsReturn TypeDescription
testInterfaceMethod()AlphavoidTest interface method
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature.html new file mode 100644 index 000000000000..27faa3affdd2 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature.html @@ -0,0 +1,21 @@ + + + + + + +
+

testInterfaceMethod

+
+

Packages > test-suite-a > TestNamespace > TestInterface > testInterfaceMethod()

+
+
+

Test interface method

+
+
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
+
+

Signature

testInterfaceMethod(): void; +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature.html new file mode 100644 index 000000000000..18f2faaeadb9 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature.html @@ -0,0 +1,22 @@ + + + + + + +
+

testInterfaceProperty

+
+

Packages > test-suite-a > TestNamespace > TestInterface > testInterfaceProperty

+
+
+

Test interface property

+
+
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
+
+

Signature

testInterfaceProperty: boolean; +

Type: boolean

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/index.html new file mode 100644 index 000000000000..c45949453417 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/index.html @@ -0,0 +1,20 @@ + + + + + + +
+

TestSubNamespace

+
+

Packages > test-suite-a > TestNamespace > TestSubNamespace

+
+
+

Test sub-namespace

+
+
+

Signature

namespace TestSubNamespace +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testtypealias-typealias/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testtypealias-typealias/index.html new file mode 100644 index 000000000000..f89e64e8b11e --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testtypealias-typealias/index.html @@ -0,0 +1,20 @@ + + + + + + +
+

TestTypeAlias

+
+

Packages > test-suite-a > TestNamespace > TestTypeAlias

+
+
+

Test Type-Alias

+
+
+

Signature

type TestTypeAlias = boolean; +
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/typealias-typealias/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/typealias-typealias/index.html new file mode 100644 index 000000000000..ddf25331f460 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-a/typealias-typealias/index.html @@ -0,0 +1,24 @@ + + + + + + +
+

TypeAlias

+
+

Packages > test-suite-a > TypeAlias

+
+
+

Test Type-Alias

+
+
+

Signature

export type TypeAlias = string; +
+
+

Remarks

+

Here are some remarks about the type alias

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/foo-interface/bar-propertysignature.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/foo-interface/bar-propertysignature.html new file mode 100644 index 000000000000..58adfae0f5e6 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/foo-interface/bar-propertysignature.html @@ -0,0 +1,25 @@ + + + + + + +
+

bar

+
+

Packages > test-suite-b > Foo > bar

+
+
+

Test Enum

+
+
+

Signature

bar: TestEnum; +

Type: TestEnum

+
+
+

Remarks

+

Here are some remarks about the enum

+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/foo-interface/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/foo-interface/index.html new file mode 100644 index 000000000000..51bcf2718a69 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/foo-interface/index.html @@ -0,0 +1,39 @@ + + + + + + +
+

Foo

+
+

Packages > test-suite-b > Foo

+
+
+

Bar

+
+
+

Signature

export interface Foo +
+
+

Properties

+ + + + + + + + + + + + + + + +
PropertyTypeDescription
barTestEnumTest Enum
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/index.html b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/index.html new file mode 100644 index 000000000000..15524b971a6a --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/html/simple-suite-test/deep-config/test-suite-b/index.html @@ -0,0 +1,31 @@ + + + + + + +
+

test-suite-b

+
+

Packages > test-suite-b

+
+
+

Interfaces

+ + + + + + + + + + + + + +
InterfaceDescription
FooBar
+
+
+ + diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/index.md new file mode 100644 index 000000000000..1bf3af7d3261 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/index.md @@ -0,0 +1,8 @@ +# API Overview + +## Packages + +| Package | Description | +| --- | --- | +| [test-suite-a](/test-suite-a/) | Test package | +| [test-suite-b](/test-suite-b/) | | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/index.md new file mode 100644 index 000000000000..8432db4d5a59 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/index.md @@ -0,0 +1,92 @@ +# test-suite-a + +[Packages](/) > [test-suite-a](/test-suite-a/) + +Test package + +## Remarks {#test-suite-a-remarks} + +This remarks block includes a bulleted list! + +- Bullet 1 + +- Bullet 2 + +And an ordered list for good measure! + +1. List item 1 + +2. List item 2 + +3. List item 3 + +Also, here is a link test, including a bad link, because we should have some reasonable support if this happens: + +- Good link (no alias): [TestClass](/test-suite-a/testclass-class/) + +- Good link (with alias): [function alias text](/test-suite-a/testfunction-function) + +- Bad link (no alias): _InvalidItem_ + +- Bad link (with alias): _even though I link to an invalid item, I would still like this text to be rendered_ + +## Example {#test-suite-a-example} + +A test example + +```typescript +const foo = bar; +``` + +## Interfaces + +| Interface | Description | +| --- | --- | +| [TestEmptyInterface](/test-suite-a/testemptyinterface-interface/) | An empty interface | +| [TestInterface](/test-suite-a/testinterface-interface/) | Test interface | +| [TestInterfaceExtendingOtherInterfaces](/test-suite-a/testinterfaceextendingotherinterfaces-interface/) | Test interface that extends other interfaces | +| [TestInterfaceWithIndexSignature](/test-suite-a/testinterfacewithindexsignature-interface/) | An interface with an index signature. | +| [TestInterfaceWithTypeParameter](/test-suite-a/testinterfacewithtypeparameter-interface/) | Test interface with generic type parameter | + +## Classes + +| Class | Description | +| --- | --- | +| [TestAbstractClass](/test-suite-a/testabstractclass-class/) | A test abstract class. | +| [TestClass](/test-suite-a/testclass-class/) | Test class | + +## Enumerations + +| Enum | Description | +| --- | --- | +| [TestEnum](/test-suite-a/testenum-enum/) | Test Enum | + +## Types + +| TypeAlias | Description | +| --- | --- | +| [TestMappedType](/test-suite-a/testmappedtype-typealias/) | Test Mapped Type, using [TestEnum](/test-suite-a/testenum-enum/) | +| [TypeAlias](/test-suite-a/typealias-typealias/) | Test Type-Alias | + +## Functions + +| Function | Alerts | Return Type | Description | +| --- | --- | --- | --- | +| [testFunction(testParameter, testOptionalParameter)](/test-suite-a/testfunction-function) | `Alpha` | TTypeParameter | Test function | +| [testFunctionReturningInlineType()](/test-suite-a/testfunctionreturninginlinetype-function) | | { foo: number; bar: [TestEnum](/test-suite-a/testenum-enum/); } | Test function that returns an inline type | +| [testFunctionReturningIntersectionType()](/test-suite-a/testfunctionreturningintersectiontype-function) | `Deprecated` | [TestEmptyInterface](/test-suite-a/testemptyinterface-interface/) & [TestInterfaceWithTypeParameter](/test-suite-a/testinterfacewithtypeparameter-interface/)<number> | Test function that returns an inline type | +| [testFunctionReturningUnionType()](/test-suite-a/testfunctionreturninguniontype-function) | | string \| [TestInterface](/test-suite-a/testinterface-interface/) | Test function that returns an inline type | + +## Variables + +| Variable | Alerts | Modifiers | Type | Description | +| --- | --- | --- | --- | --- | +| [testConst](/test-suite-a/testconst-variable) | `Beta` | `readonly` | | Test Constant | +| [testConstWithEmptyDeprecatedBlock](/test-suite-a/testconstwithemptydeprecatedblock-variable) | `Deprecated` | `readonly` | string | I have a `@deprecated` tag with an empty comment block. | + +## Namespaces + +| Namespace | Description | +| --- | --- | +| [TestModule](/test-suite-a/testmodule-namespace/) | | +| [TestNamespace](/test-suite-a/testnamespace-namespace/) | Test Namespace | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/_constructor_-constructor.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/_constructor_-constructor.md new file mode 100644 index 000000000000..5c194d2ffd09 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/_constructor_-constructor.md @@ -0,0 +1,18 @@ +# (constructor) + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestAbstractClass](/test-suite-a/testabstractclass-class/) > [(constructor)(privateProperty, protectedProperty)](/test-suite-a/testabstractclass-class/_constructor_-constructor) + +This is a _{@customTag constructor}_. + +## Signature {#\_constructor\_-signature} + +```typescript +protected constructor(privateProperty: number, protectedProperty: TestEnum); +``` + +## Parameters {#\_constructor\_-parameters} + +| Parameter | Type | Description | +| --- | --- | --- | +| privateProperty | number | | +| protectedProperty | [TestEnum](/test-suite-a/testenum-enum/) | | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/abstractpropertygetter-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/abstractpropertygetter-property.md new file mode 100644 index 000000000000..96a1c74059ae --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/abstractpropertygetter-property.md @@ -0,0 +1,13 @@ +# abstractPropertyGetter + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestAbstractClass](/test-suite-a/testabstractclass-class/) > [abstractPropertyGetter](/test-suite-a/testabstractclass-class/abstractpropertygetter-property) + +A test abstract getter property. + +## Signature {#abstractpropertygetter-signature} + +```typescript +abstract get abstractPropertyGetter(): TestMappedType; +``` + +**Type:** [TestMappedType](/test-suite-a/testmappedtype-typealias/) diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/index.md new file mode 100644 index 000000000000..d04908dcc524 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/index.md @@ -0,0 +1,32 @@ +# TestAbstractClass + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestAbstractClass](/test-suite-a/testabstractclass-class/) + +A test abstract class. + +## Signature {#testabstractclass-signature} + +```typescript +export declare abstract class TestAbstractClass +``` + +## Constructors + +| Constructor | Description | +| --- | --- | +| [(constructor)(privateProperty, protectedProperty)](/test-suite-a/testabstractclass-class/_constructor_-constructor) | This is a _{@customTag constructor}_. | + +## Properties + +| Property | Modifiers | Type | Description | +| --- | --- | --- | --- | +| [abstractPropertyGetter](/test-suite-a/testabstractclass-class/abstractpropertygetter-property) | `readonly` | [TestMappedType](/test-suite-a/testmappedtype-typealias/) | A test abstract getter property. | +| [protectedProperty](/test-suite-a/testabstractclass-class/protectedproperty-property) | `readonly` | [TestEnum](/test-suite-a/testenum-enum/) | A test protected property. | + +## Methods + +| Method | Modifiers | Return Type | Description | +| --- | --- | --- | --- | +| [publicAbstractMethod()](/test-suite-a/testabstractclass-class/publicabstractmethod-method) | | void | A test public abstract method. | +| [sealedMethod()](/test-suite-a/testabstractclass-class/sealedmethod-method) | `sealed` | string | A test `@sealed` method. | +| [virtualMethod()](/test-suite-a/testabstractclass-class/virtualmethod-method) | `virtual` | number | A test `@virtual` method. | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/protectedproperty-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/protectedproperty-property.md new file mode 100644 index 000000000000..ff267ac89ea6 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/protectedproperty-property.md @@ -0,0 +1,13 @@ +# protectedProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestAbstractClass](/test-suite-a/testabstractclass-class/) > [protectedProperty](/test-suite-a/testabstractclass-class/protectedproperty-property) + +A test protected property. + +## Signature {#protectedproperty-signature} + +```typescript +protected readonly protectedProperty: TestEnum; +``` + +**Type:** [TestEnum](/test-suite-a/testenum-enum/) diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/publicabstractmethod-method.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/publicabstractmethod-method.md new file mode 100644 index 000000000000..8c25d2dd3011 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/publicabstractmethod-method.md @@ -0,0 +1,11 @@ +# publicAbstractMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestAbstractClass](/test-suite-a/testabstractclass-class/) > [publicAbstractMethod()](/test-suite-a/testabstractclass-class/publicabstractmethod-method) + +A test public abstract method. + +## Signature {#publicabstractmethod-signature} + +```typescript +abstract publicAbstractMethod(): void; +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/sealedmethod-method.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/sealedmethod-method.md new file mode 100644 index 000000000000..1890a9a66082 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/sealedmethod-method.md @@ -0,0 +1,18 @@ +# sealedMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestAbstractClass](/test-suite-a/testabstractclass-class/) > [sealedMethod()](/test-suite-a/testabstractclass-class/sealedmethod-method) + +A test `@sealed` method. + +## Signature {#sealedmethod-signature} + +```typescript +/** @sealed */ +protected sealedMethod(): string; +``` + +## Returns {#sealedmethod-returns} + +A string! + +**Return type:** string diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/virtualmethod-method.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/virtualmethod-method.md new file mode 100644 index 000000000000..6f300f630c80 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testabstractclass-class/virtualmethod-method.md @@ -0,0 +1,18 @@ +# virtualMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestAbstractClass](/test-suite-a/testabstractclass-class/) > [virtualMethod()](/test-suite-a/testabstractclass-class/virtualmethod-method) + +A test `@virtual` method. + +## Signature {#virtualmethod-signature} + +```typescript +/** @virtual */ +protected virtualMethod(): number; +``` + +## Returns {#virtualmethod-returns} + +A number! + +**Return type:** number diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/_constructor_-constructor.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/_constructor_-constructor.md new file mode 100644 index 000000000000..d5fe62f63248 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/_constructor_-constructor.md @@ -0,0 +1,24 @@ +# (constructor) + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [(constructor)(privateProperty, protectedProperty, testClassProperty, testClassEventProperty)](/test-suite-a/testclass-class/_constructor_-constructor) + +Test class constructor + +## Signature {#\_constructor\_-signature} + +```typescript +constructor(privateProperty: number, protectedProperty: TestEnum, testClassProperty: TTypeParameterB, testClassEventProperty: () => void); +``` + +## Remarks {#\_constructor\_-remarks} + +Here are some remarks about the constructor + +## Parameters {#\_constructor\_-parameters} + +| Parameter | Type | Description | +| --- | --- | --- | +| privateProperty | number | See [TestAbstractClass](/test-suite-a/testabstractclass-class/)'s constructor. | +| protectedProperty | [TestEnum](/test-suite-a/testenum-enum/) |

Some notes about the parameter.

See protectedProperty.

| +| testClassProperty | TTypeParameterB | See [testClassProperty](/test-suite-a/testclass-class/testclassproperty-property). | +| testClassEventProperty | () => void | See [testClassEventProperty](/test-suite-a/testclass-class/testclasseventproperty-property). | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/abstractpropertygetter-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/abstractpropertygetter-property.md new file mode 100644 index 000000000000..837bb16dc32d --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/abstractpropertygetter-property.md @@ -0,0 +1,13 @@ +# abstractPropertyGetter + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [abstractPropertyGetter](/test-suite-a/testclass-class/abstractpropertygetter-property) + +A test abstract getter property. + +## Signature {#abstractpropertygetter-signature} + +```typescript +get abstractPropertyGetter(): TestMappedType; +``` + +**Type:** [TestMappedType](/test-suite-a/testmappedtype-typealias/) diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/index.md new file mode 100644 index 000000000000..3acc2358a5f1 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/index.md @@ -0,0 +1,68 @@ +# TestClass + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) + +Test class + +## Signature {#testclass-signature} + +```typescript +export declare class TestClass extends TestAbstractClass +``` + +**Extends:** [TestAbstractClass](/test-suite-a/testabstractclass-class/) + +### Type Parameters + +| Parameter | Description | +| --- | --- | +| TTypeParameterA | A type parameter | +| TTypeParameterB | Another type parameter | + +## Remarks {#testclass-remarks} + +Here are some remarks about the class + +## Constructors + +| Constructor | Description | +| --- | --- | +| [(constructor)(privateProperty, protectedProperty, testClassProperty, testClassEventProperty)](/test-suite-a/testclass-class/_constructor_-constructor) | Test class constructor | + +## Static Properties + +| Property | Type | Description | +| --- | --- | --- | +| [testClassStaticProperty](/test-suite-a/testclass-class/testclassstaticproperty-property) | (foo: number) => string | Test static class property | + +## Static Methods + +| Method | Return Type | Description | +| --- | --- | --- | +| [testClassStaticMethod(foo)](/test-suite-a/testclass-class/testclassstaticmethod-method) | string | Test class static method | + +## Events + +| Property | Modifiers | Type | Description | +| --- | --- | --- | --- | +| [testClassEventProperty](/test-suite-a/testclass-class/testclasseventproperty-property) | `readonly` | () => void | Test class event property | + +## Properties + +| Property | Modifiers | Type | Description | +| --- | --- | --- | --- | +| [abstractPropertyGetter](/test-suite-a/testclass-class/abstractpropertygetter-property) | `readonly` | [TestMappedType](/test-suite-a/testmappedtype-typealias/) | A test abstract getter property. | +| [testClassGetterProperty](/test-suite-a/testclass-class/testclassgetterproperty-property) | `virtual` | number | Test class property with both a getter and a setter. | +| [testClassProperty](/test-suite-a/testclass-class/testclassproperty-property) | `readonly` | TTypeParameterB | Test class property | + +## Methods + +| Method | Modifiers | Return Type | Description | +| --- | --- | --- | --- | +| [publicAbstractMethod()](/test-suite-a/testclass-class/publicabstractmethod-method) | | void | A test public abstract method. | +| [testClassMethod(input)](/test-suite-a/testclass-class/testclassmethod-method) | `sealed` | TTypeParameterA | Test class method | +| [virtualMethod()](/test-suite-a/testclass-class/virtualmethod-method) | | number | Overrides [virtualMethod()](/test-suite-a/testabstractclass-class/virtualmethod-method). | + +## See Also {#testclass-see-also} + +[TestAbstractClass](/test-suite-a/testabstractclass-class/) diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/publicabstractmethod-method.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/publicabstractmethod-method.md new file mode 100644 index 000000000000..dd9d7f8d21c2 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/publicabstractmethod-method.md @@ -0,0 +1,11 @@ +# publicAbstractMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [publicAbstractMethod()](/test-suite-a/testclass-class/publicabstractmethod-method) + +A test public abstract method. + +## Signature {#publicabstractmethod-signature} + +```typescript +publicAbstractMethod(): void; +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclasseventproperty-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclasseventproperty-property.md new file mode 100644 index 000000000000..2b310562e03a --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclasseventproperty-property.md @@ -0,0 +1,17 @@ +# testClassEventProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [testClassEventProperty](/test-suite-a/testclass-class/testclasseventproperty-property) + +Test class event property + +## Signature {#testclasseventproperty-signature} + +```typescript +readonly testClassEventProperty: () => void; +``` + +**Type:** () => void + +## Remarks {#testclasseventproperty-remarks} + +Here are some remarks about the property diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassgetterproperty-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassgetterproperty-property.md new file mode 100644 index 000000000000..32545a7fbedc --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassgetterproperty-property.md @@ -0,0 +1,19 @@ +# testClassGetterProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [testClassGetterProperty](/test-suite-a/testclass-class/testclassgetterproperty-property) + +Test class property with both a getter and a setter. + +## Signature {#testclassgetterproperty-signature} + +```typescript +/** @virtual */ +get testClassGetterProperty(): number; +set testClassGetterProperty(newValue: number); +``` + +**Type:** number + +## Remarks {#testclassgetterproperty-remarks} + +Here are some remarks about the getter-only property diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassmethod-method.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassmethod-method.md new file mode 100644 index 000000000000..7c3cf0c45304 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassmethod-method.md @@ -0,0 +1,32 @@ +# testClassMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [testClassMethod(input)](/test-suite-a/testclass-class/testclassmethod-method) + +Test class method + +## Signature {#testclassmethod-signature} + +```typescript +/** @sealed */ +testClassMethod(input: TTypeParameterA): TTypeParameterA; +``` + +## Remarks {#testclassmethod-remarks} + +Here are some remarks about the method + +## Parameters {#testclassmethod-parameters} + +| Parameter | Type | Description | +| --- | --- | --- | +| input | TTypeParameterA | | + +## Returns {#testclassmethod-returns} + +**Return type:** TTypeParameterA + +## Throws {#testclassmethod-throws} + +Some sort of error in 1 case. + +Some other sort of error in another case. For example, a case where some thing happens. diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassproperty-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassproperty-property.md new file mode 100644 index 000000000000..9fdd47f05594 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassproperty-property.md @@ -0,0 +1,17 @@ +# testClassProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [testClassProperty](/test-suite-a/testclass-class/testclassproperty-property) + +Test class property + +## Signature {#testclassproperty-signature} + +```typescript +readonly testClassProperty: TTypeParameterB; +``` + +**Type:** TTypeParameterB + +## Remarks {#testclassproperty-remarks} + +Here are some remarks about the property diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticmethod-method.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticmethod-method.md new file mode 100644 index 000000000000..dd30fd668971 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticmethod-method.md @@ -0,0 +1,23 @@ +# testClassStaticMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [testClassStaticMethod(foo)](/test-suite-a/testclass-class/testclassstaticmethod-method) + +Test class static method + +## Signature {#testclassstaticmethod-signature} + +```typescript +static testClassStaticMethod(foo: number): string; +``` + +## Parameters {#testclassstaticmethod-parameters} + +| Parameter | Type | Description | +| --- | --- | --- | +| foo | number | Some number | + +## Returns {#testclassstaticmethod-returns} + +- Some string + +**Return type:** string diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticproperty-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticproperty-property.md new file mode 100644 index 000000000000..127f0dd4248f --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/testclassstaticproperty-property.md @@ -0,0 +1,13 @@ +# testClassStaticProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [testClassStaticProperty](/test-suite-a/testclass-class/testclassstaticproperty-property) + +Test static class property + +## Signature {#testclassstaticproperty-signature} + +```typescript +static testClassStaticProperty: (foo: number) => string; +``` + +**Type:** (foo: number) => string diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/virtualmethod-method.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/virtualmethod-method.md new file mode 100644 index 000000000000..8050f939c5e3 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testclass-class/virtualmethod-method.md @@ -0,0 +1,16 @@ +# virtualMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestClass](/test-suite-a/testclass-class/) > [virtualMethod()](/test-suite-a/testclass-class/virtualmethod-method) + +Overrides [virtualMethod()](/test-suite-a/testabstractclass-class/virtualmethod-method). + +## Signature {#virtualmethod-signature} + +```typescript +/** @override */ +protected virtualMethod(): number; +``` + +## Returns {#virtualmethod-returns} + +**Return type:** number diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testconst-variable.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testconst-variable.md new file mode 100644 index 000000000000..1bfcdaffee04 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testconst-variable.md @@ -0,0 +1,17 @@ +# testConst + +[Packages](/) > [test-suite-a](/test-suite-a/) > [testConst](/test-suite-a/testconst-variable) + +Test Constant + +**WARNING: This API is provided as a beta preview and may change without notice. Use at your own risk.** + +## Signature {#testconst-signature} + +```typescript +testConst = 42 +``` + +## Remarks {#testconst-remarks} + +Here are some remarks about the variable diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testconstwithemptydeprecatedblock-variable.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testconstwithemptydeprecatedblock-variable.md new file mode 100644 index 000000000000..3eb58bb75f6d --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testconstwithemptydeprecatedblock-variable.md @@ -0,0 +1,15 @@ +# testConstWithEmptyDeprecatedBlock + +[Packages](/) > [test-suite-a](/test-suite-a/) > [testConstWithEmptyDeprecatedBlock](/test-suite-a/testconstwithemptydeprecatedblock-variable) + +I have a `@deprecated` tag with an empty comment block. + +**WARNING: This API is deprecated and will be removed in a future release.** + +## Signature {#testconstwithemptydeprecatedblock-signature} + +```typescript +testConstWithEmptyDeprecatedBlock: string +``` + +**Type:** string diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testemptyinterface-interface/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testemptyinterface-interface/index.md new file mode 100644 index 000000000000..93bad9d2b5db --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testemptyinterface-interface/index.md @@ -0,0 +1,11 @@ +# TestEmptyInterface + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestEmptyInterface](/test-suite-a/testemptyinterface-interface/) + +An empty interface + +## Signature {#testemptyinterface-signature} + +```typescript +export interface TestEmptyInterface +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/index.md new file mode 100644 index 000000000000..b39e52101c31 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/index.md @@ -0,0 +1,77 @@ +# TestEnum + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestEnum](/test-suite-a/testenum-enum/) + +Test Enum + +## Signature {#testenum-signature} + +```typescript +export declare enum TestEnum +``` + +## Remarks {#testenum-remarks} + +Here are some remarks about the enum + +## Examples {#testenum-examples} + +### Example 1 {#testenum-example1} + +Some example + +```typescript +const foo = TestEnum.TestEnumValue1 +``` + +### Example 2 {#testenum-example2} + +Another example + +```ts +const bar = TestEnum.TestEnumValue2 +``` + +## Flags + +| Flag | Description | +| --- | --- | +| [TestEnumValue1](/test-suite-a/testenum-enum/testenumvalue1-enummember) | Test enum value 1 (string) | +| [TestEnumValue2](/test-suite-a/testenum-enum/testenumvalue2-enummember) | Test enum value 2 (number) | +| [TestEnumValue3](/test-suite-a/testenum-enum/testenumvalue3-enummember) | Test enum value 3 (default) | + +Test enum value 1 (string) + +### Signature {#testenumvalue1-signature} + +```typescript +TestEnumValue1 = "test-enum-value-1" +``` + +### Remarks {#testenumvalue1-remarks} + +Here are some remarks about the enum value + +Test enum value 2 (number) + +### Signature {#testenumvalue2-signature} + +```typescript +TestEnumValue2 = 3 +``` + +### Remarks {#testenumvalue2-remarks} + +Here are some remarks about the enum value + +Test enum value 3 (default) + +### Signature {#testenumvalue3-signature} + +```typescript +TestEnumValue3 = 4 +``` + +### Remarks {#testenumvalue3-remarks} + +Here are some remarks about the enum value diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue1-enummember.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue1-enummember.md new file mode 100644 index 000000000000..8c88e8664068 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue1-enummember.md @@ -0,0 +1,15 @@ +# TestEnumValue1 + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestEnum](/test-suite-a/testenum-enum/) > [TestEnumValue1](/test-suite-a/testenum-enum/testenumvalue1-enummember) + +Test enum value 1 (string) + +## Signature {#testenumvalue1-signature} + +```typescript +TestEnumValue1 = "test-enum-value-1" +``` + +## Remarks {#testenumvalue1-remarks} + +Here are some remarks about the enum value diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue2-enummember.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue2-enummember.md new file mode 100644 index 000000000000..c0b40407dcf9 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue2-enummember.md @@ -0,0 +1,15 @@ +# TestEnumValue2 + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestEnum](/test-suite-a/testenum-enum/) > [TestEnumValue2](/test-suite-a/testenum-enum/testenumvalue2-enummember) + +Test enum value 2 (number) + +## Signature {#testenumvalue2-signature} + +```typescript +TestEnumValue2 = 3 +``` + +## Remarks {#testenumvalue2-remarks} + +Here are some remarks about the enum value diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue3-enummember.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue3-enummember.md new file mode 100644 index 000000000000..2bbf09ea6f5d --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testenum-enum/testenumvalue3-enummember.md @@ -0,0 +1,15 @@ +# TestEnumValue3 + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestEnum](/test-suite-a/testenum-enum/) > [TestEnumValue3](/test-suite-a/testenum-enum/testenumvalue3-enummember) + +Test enum value 3 (default) + +## Signature {#testenumvalue3-signature} + +```typescript +TestEnumValue3 = 4 +``` + +## Remarks {#testenumvalue3-remarks} + +Here are some remarks about the enum value diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunction-function.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunction-function.md new file mode 100644 index 000000000000..2ea45bb40125 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunction-function.md @@ -0,0 +1,40 @@ +# testFunction + +[Packages](/) > [test-suite-a](/test-suite-a/) > [testFunction(testParameter, testOptionalParameter)](/test-suite-a/testfunction-function) + +Test function + +**WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.** + +## Signature {#testfunction-signature} + +```typescript +export declare function testFunction(testParameter: TTypeParameter, testOptionalParameter?: TTypeParameter): TTypeParameter; +``` + +### Type Parameters + +| Parameter | Constraint | Default | Description | +| --- | --- | --- | --- | +| TTypeParameter | [TestInterface](/test-suite-a/testinterface-interface/) | [TestInterface](/test-suite-a/testinterface-interface/) | A test type parameter | + +## Remarks {#testfunction-remarks} + +This is a test [link](/test-suite-a/testinterface-interface/) to another API member + +## Parameters {#testfunction-parameters} + +| Parameter | Modifiers | Type | Description | +| --- | --- | --- | --- | +| testParameter | | TTypeParameter | A test parameter | +| testOptionalParameter | optional | TTypeParameter | | + +## Returns {#testfunction-returns} + +The provided parameter + +**Return type:** TTypeParameter + +## Throws {#testfunction-throws} + +An Error when something bad happens. diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturninginlinetype-function.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturninginlinetype-function.md new file mode 100644 index 000000000000..93c16bff277a --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturninginlinetype-function.md @@ -0,0 +1,20 @@ +# testFunctionReturningInlineType + +[Packages](/) > [test-suite-a](/test-suite-a/) > [testFunctionReturningInlineType()](/test-suite-a/testfunctionreturninginlinetype-function) + +Test function that returns an inline type + +## Signature {#testfunctionreturninginlinetype-signature} + +```typescript +export declare function testFunctionReturningInlineType(): { + foo: number; + bar: TestEnum; +}; +``` + +## Returns {#testfunctionreturninginlinetype-returns} + +An inline type + +**Return type:** { foo: number; bar: [TestEnum](/test-suite-a/testenum-enum/); } diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturningintersectiontype-function.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturningintersectiontype-function.md new file mode 100644 index 000000000000..2c6f7756f4bc --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturningintersectiontype-function.md @@ -0,0 +1,21 @@ +# testFunctionReturningIntersectionType + +[Packages](/) > [test-suite-a](/test-suite-a/) > [testFunctionReturningIntersectionType()](/test-suite-a/testfunctionreturningintersectiontype-function) + +Test function that returns an inline type + +**WARNING: This API is deprecated and will be removed in a future release.** + +_This is a test deprecation notice. Here is a_ [_link_](/test-suite-a/testfunctionreturninguniontype-function) _to something else!_ + +## Signature {#testfunctionreturningintersectiontype-signature} + +```typescript +export declare function testFunctionReturningIntersectionType(): TestEmptyInterface & TestInterfaceWithTypeParameter; +``` + +## Returns {#testfunctionreturningintersectiontype-returns} + +an intersection type + +**Return type:** [TestEmptyInterface](/test-suite-a/testemptyinterface-interface/) & [TestInterfaceWithTypeParameter](/test-suite-a/testinterfacewithtypeparameter-interface/)<number> diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturninguniontype-function.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturninguniontype-function.md new file mode 100644 index 000000000000..95e489448a8c --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testfunctionreturninguniontype-function.md @@ -0,0 +1,17 @@ +# testFunctionReturningUnionType + +[Packages](/) > [test-suite-a](/test-suite-a/) > [testFunctionReturningUnionType()](/test-suite-a/testfunctionreturninguniontype-function) + +Test function that returns an inline type + +## Signature {#testfunctionreturninguniontype-signature} + +```typescript +export declare function testFunctionReturningUnionType(): string | TestInterface; +``` + +## Returns {#testfunctionreturninguniontype-returns} + +A union type + +**Return type:** string \| [TestInterface](/test-suite-a/testinterface-interface/) diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call_-callsignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call_-callsignature.md new file mode 100644 index 000000000000..91aa417ac33d --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call_-callsignature.md @@ -0,0 +1,15 @@ +# (event: 'testCallSignature', listener: (input: unknown) => void): any + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [(event: 'testCallSignature', listener: (input: unknown) => void): any](/test-suite-a/testinterface-interface/_call_-callsignature) + +Test interface event call signature + +## Signature {#\_call\_-signature} + +```typescript +(event: 'testCallSignature', listener: (input: unknown) => void): any; +``` + +## Remarks {#\_call\_-remarks} + +Here are some remarks about the event call signature diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call__1-callsignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call__1-callsignature.md new file mode 100644 index 000000000000..f80a95d62748 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_call__1-callsignature.md @@ -0,0 +1,15 @@ +# (event: 'anotherTestCallSignature', listener: (input: number) => string): number + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [(event: 'anotherTestCallSignature', listener: (input: number) => string): number](/test-suite-a/testinterface-interface/_call__1-callsignature) + +Another example call signature + +## Signature {#\_call\_\_1-signature} + +```typescript +(event: 'anotherTestCallSignature', listener: (input: number) => string): number; +``` + +## Remarks {#\_call\_\_1-remarks} + +Here are some remarks about the event call signature diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_new_-constructsignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_new_-constructsignature.md new file mode 100644 index 000000000000..f37139a8b355 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/_new_-constructsignature.md @@ -0,0 +1,15 @@ +# new (): TestInterface + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [new (): TestInterface](/test-suite-a/testinterface-interface/_new_-constructsignature) + +Test construct signature. + +## Signature {#\_new\_-signature} + +```typescript +new (): TestInterface; +``` + +## Returns {#\_new\_-returns} + +**Return type:** [TestInterface](/test-suite-a/testinterface-interface/) diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/getterproperty-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/getterproperty-property.md new file mode 100644 index 000000000000..f4e55745be83 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/getterproperty-property.md @@ -0,0 +1,13 @@ +# getterProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [getterProperty](/test-suite-a/testinterface-interface/getterproperty-property) + +A test getter-only interface property. + +## Signature {#getterproperty-signature} + +```typescript +get getterProperty(): boolean; +``` + +**Type:** boolean diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/index.md new file mode 100644 index 000000000000..675caca87c58 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/index.md @@ -0,0 +1,60 @@ +# TestInterface + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) + +Test interface + +## Signature {#testinterface-signature} + +```typescript +export interface TestInterface +``` + +## Remarks {#testinterface-remarks} + +Here are some remarks about the interface + +## Construct Signatures + +| ConstructSignature | Return Type | Description | +| --- | --- | --- | +| [new (): TestInterface](/test-suite-a/testinterface-interface/_new_-constructsignature) | [TestInterface](/test-suite-a/testinterface-interface/) | Test construct signature. | + +## Events + +| Property | Modifiers | Type | Description | +| --- | --- | --- | --- | +| [testClassEventProperty](/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature) | `readonly` | () => void | Test interface event property | + +## Properties + +| Property | Modifiers | Default Value | Type | Description | +| --- | --- | --- | --- | --- | +| [getterProperty](/test-suite-a/testinterface-interface/getterproperty-property) | `readonly` | | boolean | A test getter-only interface property. | +| [propertyWithBadInheritDocTarget](/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature) | | | boolean | | +| [setterProperty](/test-suite-a/testinterface-interface/setterproperty-property) | | | boolean | A test property with a getter and a setter. | +| [testInterfaceProperty](/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature) | | | number | Test interface property | +| [testOptionalInterfaceProperty](/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature) | `optional` | 0 | number | Test optional property | + +## Methods + +| Method | Return Type | Description | +| --- | --- | --- | +| [testInterfaceMethod()](/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature) | void | Test interface method | + +## Call Signatures + +| CallSignature | Description | +| --- | --- | +| [(event: 'testCallSignature', listener: (input: unknown) => void): any](/test-suite-a/testinterface-interface/_call_-callsignature) | Test interface event call signature | +| [(event: 'anotherTestCallSignature', listener: (input: number) => string): number](/test-suite-a/testinterface-interface/_call__1-callsignature) | Another example call signature | + +## See Also {#testinterface-see-also} + +[testInterfaceMethod()](/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature) + +[testInterfaceProperty](/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature) + +[testOptionalInterfaceProperty](/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature) + +[testClassEventProperty](/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature) diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature.md new file mode 100644 index 000000000000..605ff7e610f5 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature.md @@ -0,0 +1,11 @@ +# propertyWithBadInheritDocTarget + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [propertyWithBadInheritDocTarget](/test-suite-a/testinterface-interface/propertywithbadinheritdoctarget-propertysignature) + +## Signature {#propertywithbadinheritdoctarget-signature} + +```typescript +propertyWithBadInheritDocTarget: boolean; +``` + +**Type:** boolean diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/setterproperty-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/setterproperty-property.md new file mode 100644 index 000000000000..4ced733433f1 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/setterproperty-property.md @@ -0,0 +1,14 @@ +# setterProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [setterProperty](/test-suite-a/testinterface-interface/setterproperty-property) + +A test property with a getter and a setter. + +## Signature {#setterproperty-signature} + +```typescript +get setterProperty(): boolean; +set setterProperty(newValue: boolean); +``` + +**Type:** boolean diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature.md new file mode 100644 index 000000000000..eaf9d45d84f1 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature.md @@ -0,0 +1,17 @@ +# testClassEventProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [testClassEventProperty](/test-suite-a/testinterface-interface/testclasseventproperty-propertysignature) + +Test interface event property + +## Signature {#testclasseventproperty-signature} + +```typescript +readonly testClassEventProperty: () => void; +``` + +**Type:** () => void + +## Remarks {#testclasseventproperty-remarks} + +Here are some remarks about the event property diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature.md new file mode 100644 index 000000000000..ef985d0aa9f2 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature.md @@ -0,0 +1,15 @@ +# testInterfaceMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [testInterfaceMethod()](/test-suite-a/testinterface-interface/testinterfacemethod-methodsignature) + +Test interface method + +## Signature {#testinterfacemethod-signature} + +```typescript +testInterfaceMethod(): void; +``` + +## Remarks {#testinterfacemethod-remarks} + +Here are some remarks about the method diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature.md new file mode 100644 index 000000000000..c6ef394f0208 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature.md @@ -0,0 +1,17 @@ +# testInterfaceProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [testInterfaceProperty](/test-suite-a/testinterface-interface/testinterfaceproperty-propertysignature) + +Test interface property + +## Signature {#testinterfaceproperty-signature} + +```typescript +testInterfaceProperty: number; +``` + +**Type:** number + +## Remarks {#testinterfaceproperty-remarks} + +Here are some remarks about the property diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature.md new file mode 100644 index 000000000000..42fd6d8346eb --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature.md @@ -0,0 +1,13 @@ +# testOptionalInterfaceProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterface](/test-suite-a/testinterface-interface/) > [testOptionalInterfaceProperty](/test-suite-a/testinterface-interface/testoptionalinterfaceproperty-propertysignature) + +Test optional property + +## Signature {#testoptionalinterfaceproperty-signature} + +```typescript +testOptionalInterfaceProperty?: number; +``` + +**Type:** number diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/index.md new file mode 100644 index 000000000000..553f68b735fb --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/index.md @@ -0,0 +1,31 @@ +# TestInterfaceExtendingOtherInterfaces + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterfaceExtendingOtherInterfaces](/test-suite-a/testinterfaceextendingotherinterfaces-interface/) + +Test interface that extends other interfaces + +## Signature {#testinterfaceextendingotherinterfaces-signature} + +```typescript +export interface TestInterfaceExtendingOtherInterfaces extends TestInterface, TestMappedType, TestInterfaceWithTypeParameter +``` + +**Extends:** [TestInterface](/test-suite-a/testinterface-interface/), [TestMappedType](/test-suite-a/testmappedtype-typealias/), [TestInterfaceWithTypeParameter](/test-suite-a/testinterfacewithtypeparameter-interface/)<number> + +## Remarks {#testinterfaceextendingotherinterfaces-remarks} + +Here are some remarks about the interface + +## Methods + +| Method | Return Type | Description | +| --- | --- | --- | +| [testMethod(input)](/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature) | number | Test interface method accepting a string and returning a number. | + +## See Also {#testinterfaceextendingotherinterfaces-see-also} + +- [TestInterface](/test-suite-a/testinterface-interface/) + +- [TestInterfaceWithTypeParameter](/test-suite-a/testinterfacewithtypeparameter-interface/) + +- [TestMappedType](/test-suite-a/testmappedtype-typealias/) diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature.md new file mode 100644 index 000000000000..5ca691256210 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature.md @@ -0,0 +1,27 @@ +# testMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterfaceExtendingOtherInterfaces](/test-suite-a/testinterfaceextendingotherinterfaces-interface/) > [testMethod(input)](/test-suite-a/testinterfaceextendingotherinterfaces-interface/testmethod-methodsignature) + +Test interface method accepting a string and returning a number. + +## Signature {#testmethod-signature} + +```typescript +testMethod(input: string): number; +``` + +## Remarks {#testmethod-remarks} + +Here are some remarks about the method + +## Parameters {#testmethod-parameters} + +| Parameter | Type | Description | +| --- | --- | --- | +| input | string | A string | + +## Returns {#testmethod-returns} + +A number + +**Return type:** number diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature.md new file mode 100644 index 000000000000..166dae36eaa1 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature.md @@ -0,0 +1,13 @@ +# \[foo: number\]: { bar: string; } + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterfaceWithIndexSignature](/test-suite-a/testinterfacewithindexsignature-interface/) > [\[foo: number\]: { bar: string; }](/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature) + +Test index signature. + +## Signature {#\_indexer\_-signature} + +```typescript +[foo: number]: { + bar: string; + }; +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/index.md new file mode 100644 index 000000000000..b5ae67fcd857 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithindexsignature-interface/index.md @@ -0,0 +1,17 @@ +# TestInterfaceWithIndexSignature + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterfaceWithIndexSignature](/test-suite-a/testinterfacewithindexsignature-interface/) + +An interface with an index signature. + +## Signature {#testinterfacewithindexsignature-signature} + +```typescript +export interface TestInterfaceWithIndexSignature +``` + +## Index Signatures + +| IndexSignature | Description | +| --- | --- | +| [\[foo: number\]: { bar: string; }](/test-suite-a/testinterfacewithindexsignature-interface/_indexer_-indexsignature) | Test index signature. | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/index.md new file mode 100644 index 000000000000..4cff1df05adf --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/index.md @@ -0,0 +1,27 @@ +# TestInterfaceWithTypeParameter + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterfaceWithTypeParameter](/test-suite-a/testinterfacewithtypeparameter-interface/) + +Test interface with generic type parameter + +## Signature {#testinterfacewithtypeparameter-signature} + +```typescript +export interface TestInterfaceWithTypeParameter +``` + +### Type Parameters + +| Parameter | Description | +| --- | --- | +| T | A type parameter | + +## Remarks {#testinterfacewithtypeparameter-remarks} + +Here are some remarks about the interface + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [testProperty](/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature) | T | A test interface property using generic type parameter | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature.md new file mode 100644 index 000000000000..b24c0340f004 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature.md @@ -0,0 +1,17 @@ +# testProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestInterfaceWithTypeParameter](/test-suite-a/testinterfacewithtypeparameter-interface/) > [testProperty](/test-suite-a/testinterfacewithtypeparameter-interface/testproperty-propertysignature) + +A test interface property using generic type parameter + +## Signature {#testproperty-signature} + +```typescript +testProperty: T; +``` + +**Type:** T + +## Remarks {#testproperty-remarks} + +Here are some remarks about the property diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmappedtype-typealias/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmappedtype-typealias/index.md new file mode 100644 index 000000000000..15e37d35c00f --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmappedtype-typealias/index.md @@ -0,0 +1,17 @@ +# TestMappedType + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestMappedType](/test-suite-a/testmappedtype-typealias/) + +Test Mapped Type, using [TestEnum](/test-suite-a/testenum-enum/) + +## Signature {#testmappedtype-signature} + +```typescript +export type TestMappedType = { + [K in TestEnum]: boolean; +}; +``` + +## Remarks {#testmappedtype-remarks} + +Here are some remarks about the mapped type diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/foo-variable.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/foo-variable.md new file mode 100644 index 000000000000..4b3f92f18d8a --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/foo-variable.md @@ -0,0 +1,11 @@ +# foo + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestModule](/test-suite-a/testmodule-namespace/) > [foo](/test-suite-a/testmodule-namespace/foo-variable) + +Test constant in module. + +## Signature {#foo-signature} + +```typescript +foo = 2 +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/index.md new file mode 100644 index 000000000000..dce3074a8407 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testmodule-namespace/index.md @@ -0,0 +1,9 @@ +# TestModule + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestModule](/test-suite-a/testmodule-namespace/) + +## Variables + +| Variable | Modifiers | Type | Description | +| --- | --- | --- | --- | +| [foo](/test-suite-a/testmodule-namespace/foo-variable) | `readonly` | | Test constant in module. | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/index.md new file mode 100644 index 000000000000..4a96dc8e9f11 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/index.md @@ -0,0 +1,77 @@ +# TestNamespace + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) + +Test Namespace + +## Signature {#testnamespace-signature} + +```typescript +export declare namespace TestNamespace +``` + +## Remarks {#testnamespace-remarks} + +Here are some remarks about the namespace + +## Examples {#testnamespace-examples} + +### Example: TypeScript Example {#testnamespace-example1} + +```typescript +const foo: Foo = { + bar: "Hello world!"; + baz = 42; +}; +``` + +### Example: JavaScript Example {#testnamespace-example2} + +```javascript +const foo = { + bar: "Hello world!"; + baz = 42; +}; +``` + +## Interfaces + +| Interface | Alerts | Description | +| --- | --- | --- | +| [TestInterface](/test-suite-a/testnamespace-namespace/testinterface-interface/) | `Alpha` | Test interface | + +## Classes + +| Class | Description | +| --- | --- | +| [TestClass](/test-suite-a/testnamespace-namespace/testclass-class/) | Test class | + +## Enumerations + +| Enum | Description | +| --- | --- | +| [TestEnum](/test-suite-a/testnamespace-namespace/testenum-enum/) | Test Enum | + +## Types + +| TypeAlias | Description | +| --- | --- | +| [TestTypeAlias](/test-suite-a/testnamespace-namespace/testtypealias-typealias/) | Test Type-Alias | + +## Functions + +| Function | Return Type | Description | +| --- | --- | --- | +| [testFunction(testParameter)](/test-suite-a/testnamespace-namespace/testfunction-function) | number | Test function | + +## Variables + +| Variable | Alerts | Modifiers | Type | Description | +| --- | --- | --- | --- | --- | +| [TestConst](/test-suite-a/testnamespace-namespace/testconst-variable) | `Beta` | `readonly` | | Test Constant | + +## Namespaces + +| Namespace | Description | +| --- | --- | +| [TestSubNamespace](/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/) | Test sub-namespace | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor.md new file mode 100644 index 000000000000..05ff2e290645 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor.md @@ -0,0 +1,17 @@ +# (constructor) + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestClass](/test-suite-a/testnamespace-namespace/testclass-class/) > [(constructor)(testClassProperty)](/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor) + +Test class constructor + +## Signature {#\_constructor\_-signature} + +```typescript +constructor(testClassProperty: string); +``` + +## Parameters {#\_constructor\_-parameters} + +| Parameter | Type | Description | +| --- | --- | --- | +| testClassProperty | string | See [testClassProperty](/test-suite-a/testclass-class/testclassproperty-property) | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/index.md new file mode 100644 index 000000000000..88054ff1205e --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/index.md @@ -0,0 +1,29 @@ +# TestClass + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestClass](/test-suite-a/testnamespace-namespace/testclass-class/) + +Test class + +## Signature {#testclass-signature} + +```typescript +class TestClass +``` + +## Constructors + +| Constructor | Description | +| --- | --- | +| [(constructor)(testClassProperty)](/test-suite-a/testnamespace-namespace/testclass-class/_constructor_-constructor) | Test class constructor | + +## Properties + +| Property | Modifiers | Type | Description | +| --- | --- | --- | --- | +| [testClassProperty](/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property) | `readonly` | string | Test interface property | + +## Methods + +| Method | Return Type | Description | +| --- | --- | --- | +| [testClassMethod(testParameter)](/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method) | Promise<string> | Test class method | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method.md new file mode 100644 index 000000000000..16e8017e34a2 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method.md @@ -0,0 +1,31 @@ +# testClassMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestClass](/test-suite-a/testnamespace-namespace/testclass-class/) > [testClassMethod(testParameter)](/test-suite-a/testnamespace-namespace/testclass-class/testclassmethod-method) + +Test class method + +## Signature {#testclassmethod-signature} + +```typescript +testClassMethod(testParameter: string): Promise; +``` + +## Parameters {#testclassmethod-parameters} + +| Parameter | Type | Description | +| --- | --- | --- | +| testParameter | string | A string | + +## Returns {#testclassmethod-returns} + +A Promise + +**Return type:** Promise<string> + +## Throws {#testclassmethod-throws} + +An Error when something happens for which an error should be thrown. Except in the cases where another kind of error is thrown. We don't throw this error in those cases. + +A different kind of error when a thing happens, but not when the first kind of error is thrown instead. + +😁 diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property.md new file mode 100644 index 000000000000..0eb2156dfca7 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property.md @@ -0,0 +1,13 @@ +# testClassProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestClass](/test-suite-a/testnamespace-namespace/testclass-class/) > [testClassProperty](/test-suite-a/testnamespace-namespace/testclass-class/testclassproperty-property) + +Test interface property + +## Signature {#testclassproperty-signature} + +```typescript +readonly testClassProperty: string; +``` + +**Type:** string diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testconst-variable.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testconst-variable.md new file mode 100644 index 000000000000..306ff0bee4aa --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testconst-variable.md @@ -0,0 +1,13 @@ +# TestConst + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestConst](/test-suite-a/testnamespace-namespace/testconst-variable) + +Test Constant + +**WARNING: This API is provided as a beta preview and may change without notice. Use at your own risk.** + +## Signature {#testconst-signature} + +```typescript +TestConst = "Hello world!" +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/index.md new file mode 100644 index 000000000000..38457b14c14b --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/index.md @@ -0,0 +1,34 @@ +# TestEnum + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestEnum](/test-suite-a/testnamespace-namespace/testenum-enum/) + +Test Enum + +## Signature {#testenum-signature} + +```typescript +enum TestEnum +``` + +## Flags + +| Flag | Description | +| --- | --- | +| [TestEnumValue1](/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember) | Test enum value 1 | +| [TestEnumValue2](/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember) | Test enum value 2 | + +Test enum value 1 + +### Signature {#testenumvalue1-signature} + +```typescript +TestEnumValue1 = 0 +``` + +Test enum value 2 + +### Signature {#testenumvalue2-signature} + +```typescript +TestEnumValue2 = 1 +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember.md new file mode 100644 index 000000000000..d701dae37fb3 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember.md @@ -0,0 +1,11 @@ +# TestEnumValue1 + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestEnum](/test-suite-a/testnamespace-namespace/testenum-enum/) > [TestEnumValue1](/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue1-enummember) + +Test enum value 1 + +## Signature {#testenumvalue1-signature} + +```typescript +TestEnumValue1 = 0 +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember.md new file mode 100644 index 000000000000..090df324ed54 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember.md @@ -0,0 +1,11 @@ +# TestEnumValue2 + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestEnum](/test-suite-a/testnamespace-namespace/testenum-enum/) > [TestEnumValue2](/test-suite-a/testnamespace-namespace/testenum-enum/testenumvalue2-enummember) + +Test enum value 2 + +## Signature {#testenumvalue2-signature} + +```typescript +TestEnumValue2 = 1 +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testfunction-function.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testfunction-function.md new file mode 100644 index 000000000000..05107a118612 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testfunction-function.md @@ -0,0 +1,27 @@ +# testFunction + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [testFunction(testParameter)](/test-suite-a/testnamespace-namespace/testfunction-function) + +Test function + +## Signature {#testfunction-signature} + +```typescript +function testFunction(testParameter: number): number; +``` + +## Parameters {#testfunction-parameters} + +| Parameter | Type | Description | +| --- | --- | --- | +| testParameter | number | | + +## Returns {#testfunction-returns} + +A number + +**Return type:** number + +## Throws {#testfunction-throws} + +An Error diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/index.md new file mode 100644 index 000000000000..8fdf397b435e --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/index.md @@ -0,0 +1,27 @@ +# TestInterface + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestInterface](/test-suite-a/testnamespace-namespace/testinterface-interface/) + +Test interface + +**WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.** + +## Signature {#testinterface-signature} + +```typescript +interface TestInterface extends TestInterfaceWithTypeParameter +``` + +**Extends:** [TestInterfaceWithTypeParameter](/test-suite-a/testinterfacewithtypeparameter-interface/)<[TestEnum](/test-suite-a/testnamespace-namespace/testenum-enum/)> + +## Properties + +| Property | Alerts | Type | Description | +| --- | --- | --- | --- | +| [testInterfaceProperty](/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature) | `Alpha` | boolean | Test interface property | + +## Methods + +| Method | Alerts | Return Type | Description | +| --- | --- | --- | --- | +| [testInterfaceMethod()](/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature) | `Alpha` | void | Test interface method | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature.md new file mode 100644 index 000000000000..e9f6e8b3317e --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature.md @@ -0,0 +1,13 @@ +# testInterfaceMethod + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestInterface](/test-suite-a/testnamespace-namespace/testinterface-interface/) > [testInterfaceMethod()](/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfacemethod-methodsignature) + +Test interface method + +**WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.** + +## Signature {#testinterfacemethod-signature} + +```typescript +testInterfaceMethod(): void; +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature.md new file mode 100644 index 000000000000..24aadf4a4da4 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature.md @@ -0,0 +1,15 @@ +# testInterfaceProperty + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestInterface](/test-suite-a/testnamespace-namespace/testinterface-interface/) > [testInterfaceProperty](/test-suite-a/testnamespace-namespace/testinterface-interface/testinterfaceproperty-propertysignature) + +Test interface property + +**WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.** + +## Signature {#testinterfaceproperty-signature} + +```typescript +testInterfaceProperty: boolean; +``` + +**Type:** boolean diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/index.md new file mode 100644 index 000000000000..732c89d92c6d --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/index.md @@ -0,0 +1,11 @@ +# TestSubNamespace + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestSubNamespace](/test-suite-a/testnamespace-namespace/testsubnamespace-namespace/) + +Test sub-namespace + +## Signature {#testsubnamespace-signature} + +```typescript +namespace TestSubNamespace +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testtypealias-typealias/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testtypealias-typealias/index.md new file mode 100644 index 000000000000..1f65ed7f8e5d --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/testnamespace-namespace/testtypealias-typealias/index.md @@ -0,0 +1,11 @@ +# TestTypeAlias + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TestNamespace](/test-suite-a/testnamespace-namespace/) > [TestTypeAlias](/test-suite-a/testnamespace-namespace/testtypealias-typealias/) + +Test Type-Alias + +## Signature {#testtypealias-signature} + +```typescript +type TestTypeAlias = boolean; +``` diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/typealias-typealias/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/typealias-typealias/index.md new file mode 100644 index 000000000000..bd746555d320 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-a/typealias-typealias/index.md @@ -0,0 +1,15 @@ +# TypeAlias + +[Packages](/) > [test-suite-a](/test-suite-a/) > [TypeAlias](/test-suite-a/typealias-typealias/) + +Test Type-Alias + +## Signature {#typealias-signature} + +```typescript +export type TypeAlias = string; +``` + +## Remarks {#typealias-remarks} + +Here are some remarks about the type alias diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/foo-interface/bar-propertysignature.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/foo-interface/bar-propertysignature.md new file mode 100644 index 000000000000..525299906d99 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/foo-interface/bar-propertysignature.md @@ -0,0 +1,17 @@ +# bar + +[Packages](/) > [test-suite-b](/test-suite-b/) > [Foo](/test-suite-b/foo-interface/) > [bar](/test-suite-b/foo-interface/bar-propertysignature) + +Test Enum + +## Signature {#bar-signature} + +```typescript +bar: TestEnum; +``` + +**Type:** [TestEnum](/test-suite-a/testenum-enum/) + +## Remarks {#bar-remarks} + +Here are some remarks about the enum diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/foo-interface/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/foo-interface/index.md new file mode 100644 index 000000000000..52a2e1d441f6 --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/foo-interface/index.md @@ -0,0 +1,17 @@ +# Foo + +[Packages](/) > [test-suite-b](/test-suite-b/) > [Foo](/test-suite-b/foo-interface/) + +Bar + +## Signature {#foo-signature} + +```typescript +export interface Foo +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [bar](/test-suite-b/foo-interface/bar-propertysignature) | [TestEnum](/test-suite-a/testenum-enum/) | Test Enum | diff --git a/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/index.md b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/index.md new file mode 100644 index 000000000000..68f93889147c --- /dev/null +++ b/tools/api-markdown-documenter/src/test/snapshots/markdown/simple-suite-test/deep-config/test-suite-b/index.md @@ -0,0 +1,9 @@ +# test-suite-b + +[Packages](/) > [test-suite-b](/test-suite-b/) + +## Interfaces + +| Interface | Description | +| --- | --- | +| [Foo](/test-suite-b/foo-interface/) | Bar |