{ "metadata": { "toolPackage": "@microsoft/api-extractor", "toolVersion": "[test mode]", "schemaVersion": 1011, "oldestForwardsCompatibleVersion": 1001, "tsdocConfig": { "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", "noStandardTags": true, "tagDefinitions": [ { "tagName": "@alpha", "syntaxKind": "modifier" }, { "tagName": "@beta", "syntaxKind": "modifier" }, { "tagName": "@defaultValue", "syntaxKind": "block" }, { "tagName": "@decorator", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@deprecated", "syntaxKind": "block" }, { "tagName": "@eventProperty", "syntaxKind": "modifier" }, { "tagName": "@example", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@experimental", "syntaxKind": "modifier" }, { "tagName": "@inheritDoc", "syntaxKind": "inline" }, { "tagName": "@internal", "syntaxKind": "modifier" }, { "tagName": "@label", "syntaxKind": "inline" }, { "tagName": "@link", "syntaxKind": "inline", "allowMultiple": true }, { "tagName": "@override", "syntaxKind": "modifier" }, { "tagName": "@packageDocumentation", "syntaxKind": "modifier" }, { "tagName": "@param", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@privateRemarks", "syntaxKind": "block" }, { "tagName": "@public", "syntaxKind": "modifier" }, { "tagName": "@readonly", "syntaxKind": "modifier" }, { "tagName": "@remarks", "syntaxKind": "block" }, { "tagName": "@returns", "syntaxKind": "block" }, { "tagName": "@sealed", "syntaxKind": "modifier" }, { "tagName": "@see", "syntaxKind": "block" }, { "tagName": "@throws", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@typeParam", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@virtual", "syntaxKind": "modifier" }, { "tagName": "@jsx", "syntaxKind": "block" }, { "tagName": "@jsxRuntime", "syntaxKind": "block" }, { "tagName": "@jsxFrag", "syntaxKind": "block" }, { "tagName": "@jsxImportSource", "syntaxKind": "block" }, { "tagName": "@betaDocumentation", "syntaxKind": "modifier" }, { "tagName": "@internalRemarks", "syntaxKind": "block" }, { "tagName": "@preapproved", "syntaxKind": "modifier" }, { "tagName": "@docCategory", "syntaxKind": "inline" }, { "tagName": "@myCustomTag", "syntaxKind": "modifier" } ], "supportForTags": { "@alpha": true, "@beta": true, "@defaultValue": true, "@decorator": true, "@deprecated": true, "@eventProperty": true, "@example": true, "@experimental": true, "@inheritDoc": true, "@internal": true, "@label": true, "@link": true, "@override": true, "@packageDocumentation": true, "@param": true, "@privateRemarks": true, "@public": true, "@readonly": true, "@remarks": true, "@returns": true, "@sealed": true, "@see": true, "@throws": true, "@typeParam": true, "@virtual": true, "@betaDocumentation": true, "@internalRemarks": true, "@preapproved": true, "@docCategory": true, "@myCustomTag": true }, "reportUnsupportedHtmlElements": false } }, "kind": "Package", "canonicalReference": "api-documenter-test!", "docComment": "/**\n * api-extractor-test-05\n *\n * This project tests various documentation generation scenarios and\n * doc comment syntaxes.\n *\n * @packageDocumentation\n */\n", "name": "api-documenter-test", "preserveMemberOrder": false, "members": [ { "kind": "EntryPoint", "canonicalReference": "api-documenter-test!", "name": "", "preserveMemberOrder": false, "members": [ { "kind": "Class", "canonicalReference": "api-documenter-test!AbstractClass:class", "docComment": "/**\n * Some abstract class with abstract members.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare abstract class AbstractClass " } ], "fileUrlPath": "src/AbstractClass.ts", "releaseTag": "Public", "isAbstract": true, "name": "AbstractClass", "preserveMemberOrder": false, "members": [ { "kind": "Method", "canonicalReference": "api-documenter-test!AbstractClass#method:member(1)", "docComment": "/**\n * Some abstract method.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "abstract method(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": true, "name": "method" }, { "kind": "Property", "canonicalReference": "api-documenter-test!AbstractClass#property:member", "docComment": "/**\n * Some abstract property.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "protected abstract property: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "property", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": true, "isAbstract": true } ], "implementsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "api-documenter-test!Constraint:interface", "docComment": "/**\n * Type parameter constraint used by test case below.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface Constraint " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "Constraint", "preserveMemberOrder": false, "members": [], "extendsTokenRanges": [] }, { "kind": "Variable", "canonicalReference": "api-documenter-test!constVariable:var", "docComment": "/**\n * An exported variable declaration.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "constVariable: " }, { "kind": "Content", "text": "number" } ], "fileUrlPath": "src/index.ts", "isReadonly": true, "releaseTag": "Public", "name": "constVariable", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Class", "canonicalReference": "api-documenter-test!DecoratorExample:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class DecoratorExample " } ], "fileUrlPath": "src/DecoratorExample.ts", "releaseTag": "Public", "isAbstract": false, "name": "DecoratorExample", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "api-documenter-test!DecoratorExample#creationDate:member", "docComment": "/**\n * The date when the record was created.\n *\n * @remarks\n *\n * Here is a longer description of the property.\n *\n * @decorator\n *\n * `@jsonSerialized`\n *\n * @decorator\n *\n * `@jsonFormat('mm/dd/yy')`\n */\n", "excerptTokens": [ { "kind": "Content", "text": "creationDate: " }, { "kind": "Reference", "text": "Date", "canonicalReference": "!Date:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "creationDate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "implementsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "api-documenter-test!DefaultType:interface", "docComment": "/**\n * Type parameter default type used by test case below.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface DefaultType " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "DefaultType", "preserveMemberOrder": false, "members": [], "extendsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "api-documenter-test!DocBaseClass:class", "docComment": "/**\n * Example base class\n *\n * {@docCategory DocBaseClass}\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class DocBaseClass " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "isAbstract": false, "name": "DocBaseClass", "preserveMemberOrder": false, "members": [ { "kind": "Constructor", "canonicalReference": "api-documenter-test!DocBaseClass:constructor(1)", "docComment": "/**\n * The simple constructor for `DocBaseClass`\n */\n", "excerptTokens": [ { "kind": "Content", "text": "constructor();" } ], "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [] }, { "kind": "Constructor", "canonicalReference": "api-documenter-test!DocBaseClass:constructor(2)", "docComment": "/**\n * The overloaded constructor for `DocBaseClass`\n */\n", "excerptTokens": [ { "kind": "Content", "text": "constructor(x: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ");" } ], "releaseTag": "Public", "isProtected": false, "overloadIndex": 2, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ] } ], "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "api-documenter-test!DocClass1:class", "docComment": "/**\n * This is an example class.\n *\n * @remarks\n *\n * {@link DocClass1.(exampleFunction:1) | Link to overload 1}\n *\n * {@link DocClass1.(exampleFunction:2) | Link to overload 2}\n *\n * {@docCategory DocClass1}\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `DocClass1` class.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class DocClass1 extends " }, { "kind": "Reference", "text": "DocBaseClass", "canonicalReference": "api-documenter-test!DocBaseClass:class" }, { "kind": "Content", "text": " implements " }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "IDocInterface2", "canonicalReference": "api-documenter-test!IDocInterface2:interface" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "isAbstract": false, "name": "DocClass1", "preserveMemberOrder": false, "members": [ { "kind": "Method", "canonicalReference": "api-documenter-test!DocClass1#deprecatedExample:member(1)", "docComment": "/**\n * @deprecated\n *\n * Use `otherThing()` instead.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "deprecatedExample(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "deprecatedExample" }, { "kind": "Method", "canonicalReference": "api-documenter-test!DocClass1#exampleFunction:member(1)", "docComment": "/**\n * This is an overloaded function.\n *\n * @param a - the first string\n *\n * @param b - the second string\n *\n * @throws\n *\n * `Error`\n * The first throws line\n *\n * @throws\n *\n * The second throws line\n */\n", "excerptTokens": [ { "kind": "Content", "text": "exampleFunction(a: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", b: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "a", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "b", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "exampleFunction" }, { "kind": "Method", "canonicalReference": "api-documenter-test!DocClass1#exampleFunction:member(2)", "docComment": "/**\n * This is also an overloaded function.\n *\n * @param x - the number\n *\n * @defaultValue 123\n */\n", "excerptTokens": [ { "kind": "Content", "text": "exampleFunction(x: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 2, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "exampleFunction" }, { "kind": "Method", "canonicalReference": "api-documenter-test!DocClass1#genericWithConstraintAndDefault:member(1)", "docComment": "/**\n * This is a method with a complex type parameter.\n *\n * @param x - some generic parameter.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "genericWithConstraintAndDefault(x: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "genericWithConstraintAndDefault" }, { "kind": "Method", "canonicalReference": "api-documenter-test!DocClass1#interestingEdgeCases:member(1)", "docComment": "/**\n * Example: \"\\{ \\\\\"maxItemsToShow\\\\\": 123 \\}\"\n *\n * The regular expression used to validate the constraints is /^[a-zA-Z0-9\\\\-_]+$/\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interestingEdgeCases(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "interestingEdgeCases" }, { "kind": "Property", "canonicalReference": "api-documenter-test!DocClass1#malformedEvent:member", "docComment": "/**\n * This event should have been marked as readonly.\n *\n * @eventProperty\n */\n", "excerptTokens": [ { "kind": "Content", "text": "malformedEvent: " }, { "kind": "Reference", "text": "SystemEvent", "canonicalReference": "api-documenter-test!SystemEvent:class" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "malformedEvent", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "api-documenter-test!DocClass1#modifiedEvent:member", "docComment": "/**\n * This event is fired whenever the object is modified.\n *\n * @eventProperty\n */\n", "excerptTokens": [ { "kind": "Content", "text": "readonly modifiedEvent: " }, { "kind": "Reference", "text": "SystemEvent", "canonicalReference": "api-documenter-test!SystemEvent:class" }, { "kind": "Content", "text": ";" } ], "isReadonly": true, "isOptional": false, "releaseTag": "Public", "name": "modifiedEvent", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "api-documenter-test!DocClass1.multipleModifiersProperty:member", "docComment": "/**\n * Some property with multiple modifiers.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "protected static readonly multipleModifiersProperty: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": true, "isOptional": false, "releaseTag": "Public", "name": "multipleModifiersProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": true, "isAbstract": false }, { "kind": "Method", "canonicalReference": "api-documenter-test!DocClass1#optionalParamFunction:member(1)", "docComment": "/**\n * This is a function with an optional parameter.\n *\n * @param x - the number\n */\n", "excerptTokens": [ { "kind": "Content", "text": "optionalParamFunction(x?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": true } ], "isOptional": false, "isAbstract": false, "name": "optionalParamFunction" }, { "kind": "Property", "canonicalReference": "api-documenter-test!DocClass1#protectedProperty:member", "docComment": "/**\n * Some protected property.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "protected protectedProperty: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "protectedProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": true, "isAbstract": false }, { "kind": "Property", "canonicalReference": "api-documenter-test!DocClass1#readonlyProperty:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "get readonlyProperty(): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": true, "isOptional": false, "releaseTag": "Public", "name": "readonlyProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "api-documenter-test!DocClass1#regularProperty:member", "docComment": "/**\n * This is a regular property that happens to use the SystemEvent type.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "regularProperty: " }, { "kind": "Reference", "text": "SystemEvent", "canonicalReference": "api-documenter-test!SystemEvent:class" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "regularProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "api-documenter-test!DocClass1.sumWithExample:member(1)", "docComment": "/**\n * Returns the sum of two numbers.\n *\n * @remarks\n *\n * This illustrates usage of the `@example` block tag.\n *\n * @param x - the first number to add\n *\n * @param y - the second number to add\n *\n * @returns the sum of the two numbers\n *\n * @example\n *\n * Here's a simple example:\n * ```\n * // Prints \"2\":\n * console.log(DocClass1.sumWithExample(1,1));\n * ```\n *\n * @example\n *\n * Here's an example with negative numbers:\n * ```\n * // Prints \"0\":\n * console.log(DocClass1.sumWithExample(1,-1));\n * ```\n *\n */\n", "excerptTokens": [ { "kind": "Content", "text": "static sumWithExample(x: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", y: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isStatic": true, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "y", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "sumWithExample" }, { "kind": "Method", "canonicalReference": "api-documenter-test!DocClass1#tableExample:member(1)", "docComment": "/**\n * An example with tables:\n *\n * @remarks\n *\n * \n * \n * \n * \n *
JohnDoe
\n */\n", "excerptTokens": [ { "kind": "Content", "text": "tableExample(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "tableExample" }, { "kind": "Property", "canonicalReference": "api-documenter-test!DocClass1#writeableProperty:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "get writeableProperty(): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";\n\nset writeableProperty(value: string);" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "writeableProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "api-documenter-test!DocClass1#writeonlyProperty:member", "docComment": "/**\n * API Extractor will surface an `ae-missing-getter` finding for this property.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "set writeonlyProperty(value: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ");" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "writeonlyProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [ { "startIndex": 3, "endIndex": 4 }, { "startIndex": 5, "endIndex": 6 } ] }, { "kind": "Class", "canonicalReference": "api-documenter-test!DocClassInterfaceMerge:class", "docComment": "/**\n * Class that merges with interface\n *\n * @remarks\n *\n * {@link (DocClassInterfaceMerge:class) | Link to class}\n *\n * {@link (DocClassInterfaceMerge:interface) | Link to interface}\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class DocClassInterfaceMerge " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "isAbstract": false, "name": "DocClassInterfaceMerge", "preserveMemberOrder": false, "members": [], "implementsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "api-documenter-test!DocClassInterfaceMerge:interface", "docComment": "/**\n * Interface that merges with class\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface DocClassInterfaceMerge " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "DocClassInterfaceMerge", "preserveMemberOrder": false, "members": [], "extendsTokenRanges": [] }, { "kind": "Enum", "canonicalReference": "api-documenter-test!DocEnum:enum", "docComment": "/**\n * Docs for DocEnum\n *\n * {@docCategory SystemEvent}\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare enum DocEnum " } ], "fileUrlPath": "src/DocEnums.ts", "releaseTag": "Public", "name": "DocEnum", "preserveMemberOrder": false, "members": [ { "kind": "EnumMember", "canonicalReference": "api-documenter-test!DocEnum.One:member", "docComment": "/**\n * These are some docs for One\n */\n", "excerptTokens": [ { "kind": "Content", "text": "One = " }, { "kind": "Content", "text": "1" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "One" }, { "kind": "EnumMember", "canonicalReference": "api-documenter-test!DocEnum.Two:member", "docComment": "/**\n * These are some docs for Two.\n *\n * {@link DocEnum.One} is a direct link to another enum member.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Two = " }, { "kind": "Content", "text": "2" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "Two" }, { "kind": "EnumMember", "canonicalReference": "api-documenter-test!DocEnum.Zero:member", "docComment": "/**\n * These are some docs for Zero\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Zero = " }, { "kind": "Content", "text": "0" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "Zero" } ] }, { "kind": "Enum", "canonicalReference": "api-documenter-test!DocEnumNamespaceMerge:enum", "docComment": "/**\n * Enum that merges with namespace\n *\n * @remarks\n *\n * {@link (DocEnumNamespaceMerge:enum) | Link to enum}\n *\n * {@link (DocEnumNamespaceMerge:namespace) | Link to namespace}\n *\n * {@link (DocEnumNamespaceMerge:namespace).exampleFunction | Link to function inside namespace}\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare enum DocEnumNamespaceMerge " } ], "fileUrlPath": "src/DocEnums.ts", "releaseTag": "Public", "name": "DocEnumNamespaceMerge", "preserveMemberOrder": false, "members": [ { "kind": "EnumMember", "canonicalReference": "api-documenter-test!DocEnumNamespaceMerge.Left:member", "docComment": "/**\n * These are some docs for Left\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Left = " }, { "kind": "Content", "text": "0" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "Left" }, { "kind": "EnumMember", "canonicalReference": "api-documenter-test!DocEnumNamespaceMerge.Right:member", "docComment": "/**\n * These are some docs for Right\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Right = " }, { "kind": "Content", "text": "1" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "Right" } ] }, { "kind": "Namespace", "canonicalReference": "api-documenter-test!DocEnumNamespaceMerge:namespace", "docComment": "/**\n * Namespace that merges with enum\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare namespace DocEnumNamespaceMerge " } ], "fileUrlPath": "src/DocEnums.ts", "releaseTag": "Public", "name": "DocEnumNamespaceMerge", "preserveMemberOrder": false, "members": [ { "kind": "Function", "canonicalReference": "api-documenter-test!DocEnumNamespaceMerge.exampleFunction:function(1)", "docComment": "/**\n * This is a function inside of a namespace that merges with an enum.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "function exampleFunction(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "exampleFunction" } ] }, { "kind": "Namespace", "canonicalReference": "api-documenter-test!EcmaSymbols:namespace", "docComment": "/**\n * A namespace containing an ECMAScript symbol\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare namespace EcmaSymbols " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "EcmaSymbols", "preserveMemberOrder": false, "members": [ { "kind": "Variable", "canonicalReference": "api-documenter-test!EcmaSymbols.example:var", "docComment": "/**\n * An ECMAScript symbol\n */\n", "excerptTokens": [ { "kind": "Content", "text": "example: " }, { "kind": "Content", "text": "unique symbol" } ], "isReadonly": true, "releaseTag": "Public", "name": "example", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ] }, { "kind": "TypeAlias", "canonicalReference": "api-documenter-test!ExampleDuplicateTypeAlias:type", "docComment": "/**\n * A type alias that has duplicate references.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type ExampleDuplicateTypeAlias = " }, { "kind": "Reference", "text": "SystemEvent", "canonicalReference": "api-documenter-test!SystemEvent:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "SystemEvent", "canonicalReference": "api-documenter-test!SystemEvent:class" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "src/index.ts", "releaseTag": "Public", "name": "ExampleDuplicateTypeAlias", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Function", "canonicalReference": "api-documenter-test!exampleFunction:function(1)", "docComment": "/**\n * An exported function with hyperlinked parameters and return value.\n *\n * @param x - an API item that should get hyperlinked\n *\n * @param y - a system type that should NOT get hyperlinked\n *\n * @returns an interface that should get hyperlinked\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function exampleFunction(x: " }, { "kind": "Reference", "text": "ExampleTypeAlias", "canonicalReference": "api-documenter-test!ExampleTypeAlias:type" }, { "kind": "Content", "text": ", y: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "src/index.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "y", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "name": "exampleFunction" }, { "kind": "TypeAlias", "canonicalReference": "api-documenter-test!ExampleTypeAlias:type", "docComment": "/**\n * A type alias\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type ExampleTypeAlias = " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "src/index.ts", "releaseTag": "Public", "name": "ExampleTypeAlias", "typeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "TypeAlias", "canonicalReference": "api-documenter-test!ExampleUnionTypeAlias:type", "docComment": "/**\n * A type alias that references multiple other types.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type ExampleUnionTypeAlias = " }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "IDocInterface3", "canonicalReference": "api-documenter-test!IDocInterface3:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "src/index.ts", "releaseTag": "Public", "name": "ExampleUnionTypeAlias", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Class", "canonicalReference": "api-documenter-test!Generic:class", "docComment": "/**\n * Generic class.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class Generic " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "isAbstract": false, "name": "Generic", "preserveMemberOrder": false, "members": [], "implementsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "api-documenter-test!GenericTypeAlias:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type GenericTypeAlias = " }, { "kind": "Content", "text": "T[]" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "src/index.ts", "releaseTag": "Public", "name": "GenericTypeAlias", "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Interface", "canonicalReference": "api-documenter-test!IDocInterface1:interface", "docComment": "/**\n * {@docCategory DocBaseClass}\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface IDocInterface1 " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "IDocInterface1", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface1#regularProperty:member", "docComment": "/**\n * Does something\n */\n", "excerptTokens": [ { "kind": "Content", "text": "regularProperty: " }, { "kind": "Reference", "text": "SystemEvent", "canonicalReference": "api-documenter-test!SystemEvent:class" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "regularProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "api-documenter-test!IDocInterface2:interface", "docComment": "/**\n * {@docCategory DocBaseClass}\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface IDocInterface2 extends " }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "IDocInterface2", "preserveMemberOrder": false, "members": [ { "kind": "MethodSignature", "canonicalReference": "api-documenter-test!IDocInterface2#deprecatedExample:member(1)", "docComment": "/**\n * @deprecated\n *\n * Use `otherThing()` instead.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "deprecatedExample(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "deprecatedExample" } ], "extendsTokenRanges": [ { "startIndex": 1, "endIndex": 2 } ] }, { "kind": "Interface", "canonicalReference": "api-documenter-test!IDocInterface3:interface", "docComment": "/**\n * Some less common TypeScript declaration kinds.\n *\n * {@docCategory DocClass1}\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface IDocInterface3 " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "IDocInterface3", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface3#\"[not.a.symbol]\":member", "docComment": "/**\n * An identifier that does need quotes. It misleadingly looks like an ECMAScript symbol.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "\"[not.a.symbol]\": " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"[not.a.symbol]\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface3#[EcmaSymbols.example]:member", "docComment": "/**\n * ECMAScript symbol\n */\n", "excerptTokens": [ { "kind": "Content", "text": "[" }, { "kind": "Reference", "text": "EcmaSymbols.example", "canonicalReference": "api-documenter-test!EcmaSymbols.example" }, { "kind": "Content", "text": "]: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "[EcmaSymbols.example]", "propertyTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "kind": "CallSignature", "canonicalReference": "api-documenter-test!IDocInterface3:call(1)", "docComment": "/**\n * Call signature\n *\n * @param x - the parameter\n */\n", "excerptTokens": [ { "kind": "Content", "text": "(x: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ] }, { "kind": "ConstructSignature", "canonicalReference": "api-documenter-test!IDocInterface3:new(1)", "docComment": "/**\n * Construct signature\n */\n", "excerptTokens": [ { "kind": "Content", "text": "new (): " }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": ";" } ], "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [] }, { "kind": "IndexSignature", "canonicalReference": "api-documenter-test!IDocInterface3:index(1)", "docComment": "/**\n * Indexer\n *\n * @param x - the parameter\n */\n", "excerptTokens": [ { "kind": "Content", "text": "[x: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "]: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ] }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface3#redundantQuotes:member", "docComment": "/**\n * A quoted identifier with redundant quotes.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "\"redundantQuotes\": " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "redundantQuotes", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "api-documenter-test!IDocInterface4:interface", "docComment": "/**\n * Type union in an interface.\n *\n * {@docCategory DocClass1}\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface IDocInterface4 " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "IDocInterface4", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface4#Context:member", "docComment": "/**\n * Test newline rendering when code blocks are used in tables\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Context: " }, { "kind": "Content", "text": "({ children }: {\n children: string;\n }) => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "Context", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface4#generic:member", "docComment": "/**\n * make sure html entities are escaped in tables.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "generic: " }, { "kind": "Reference", "text": "Generic", "canonicalReference": "api-documenter-test!Generic:class" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "generic", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface4#numberOrFunction:member", "docComment": "/**\n * a union type with a function\n */\n", "excerptTokens": [ { "kind": "Content", "text": "numberOrFunction: " }, { "kind": "Content", "text": "number | (() => number)" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "numberOrFunction", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface4#stringOrNumber:member", "docComment": "/**\n * a union type\n */\n", "excerptTokens": [ { "kind": "Content", "text": "stringOrNumber: " }, { "kind": "Content", "text": "string | number" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "stringOrNumber", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "api-documenter-test!IDocInterface5:interface", "docComment": "/**\n * Interface without inline tag to test custom TOC\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface IDocInterface5 " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "IDocInterface5", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface5#regularProperty:member", "docComment": "/**\n * Property of type string that does something\n *\n * @defaultValue \"Hello World\"\n */\n", "excerptTokens": [ { "kind": "Content", "text": "regularProperty: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "regularProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "api-documenter-test!IDocInterface6:interface", "docComment": "/**\n * Interface without inline tag to test custom TOC with injection\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface IDocInterface6 " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "IDocInterface6", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface6#arrayProperty:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "arrayProperty: " }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "arrayProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "MethodSignature", "canonicalReference": "api-documenter-test!IDocInterface6#genericReferenceMethod:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "genericReferenceMethod(x: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "genericReferenceMethod" }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface6#intersectionProperty:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "intersectionProperty: " }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": " & " }, { "kind": "Reference", "text": "IDocInterface2", "canonicalReference": "api-documenter-test!IDocInterface2:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "intersectionProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface6#regularProperty:member", "docComment": "/**\n * Property of type number that does something\n */\n", "excerptTokens": [ { "kind": "Content", "text": "regularProperty: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "regularProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface6#tupleProperty:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "tupleProperty: " }, { "kind": "Content", "text": "[" }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "IDocInterface2", "canonicalReference": "api-documenter-test!IDocInterface2:interface" }, { "kind": "Content", "text": "]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "tupleProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface6#typeReferenceProperty:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "typeReferenceProperty: " }, { "kind": "Reference", "text": "Generic", "canonicalReference": "api-documenter-test!Generic:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "typeReferenceProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 } }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface6#unionProperty:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "unionProperty: " }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "IDocInterface2", "canonicalReference": "api-documenter-test!IDocInterface2:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "unionProperty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "api-documenter-test!IDocInterface7:interface", "docComment": "/**\n * Interface for testing optional properties\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface IDocInterface7 " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "name": "IDocInterface7", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface7#optionalField:member", "docComment": "/**\n * Description of optionalField\n */\n", "excerptTokens": [ { "kind": "Content", "text": "optionalField?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "optionalField", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "MethodSignature", "canonicalReference": "api-documenter-test!IDocInterface7#optionalMember:member(1)", "docComment": "/**\n * Description of optionalMember\n */\n", "excerptTokens": [ { "kind": "Content", "text": "optionalMember?(): " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "optionalMember" }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface7#optionalReadonlyField:member", "docComment": "/**\n * Description of optionalReadonlyField\n */\n", "excerptTokens": [ { "kind": "Content", "text": "readonly optionalReadonlyField?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": true, "isOptional": true, "releaseTag": "Public", "name": "optionalReadonlyField", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "api-documenter-test!IDocInterface7#optionalUndocumentedField:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "optionalUndocumentedField?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "optionalUndocumentedField", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Namespace", "canonicalReference": "api-documenter-test!OuterNamespace:namespace", "docComment": "/**\n * A top-level namespace\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare namespace OuterNamespace " } ], "fileUrlPath": "src/index.ts", "releaseTag": "Public", "name": "OuterNamespace", "preserveMemberOrder": false, "members": [ { "kind": "Namespace", "canonicalReference": "api-documenter-test!OuterNamespace.InnerNamespace:namespace", "docComment": "/**\n * A nested namespace\n */\n", "excerptTokens": [ { "kind": "Content", "text": "namespace InnerNamespace " } ], "releaseTag": "Public", "name": "InnerNamespace", "preserveMemberOrder": false, "members": [ { "kind": "Function", "canonicalReference": "api-documenter-test!OuterNamespace.InnerNamespace.nestedFunction:function(1)", "docComment": "/**\n * A function inside a namespace\n */\n", "excerptTokens": [ { "kind": "Content", "text": "function nestedFunction(x: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "x", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "nestedFunction" } ] }, { "kind": "Variable", "canonicalReference": "api-documenter-test!OuterNamespace.nestedVariable:var", "docComment": "/**\n * A variable exported from within a namespace.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "nestedVariable: " }, { "kind": "Content", "text": "boolean" } ], "isReadonly": false, "releaseTag": "Public", "name": "nestedVariable", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ] }, { "kind": "Class", "canonicalReference": "api-documenter-test!SystemEvent:class", "docComment": "/**\n * A class used to exposed events.\n *\n * {@docCategory SystemEvent}\n *\n * @public @myCustomTag\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class SystemEvent " } ], "fileUrlPath": "src/DocClass1.ts", "releaseTag": "Public", "isAbstract": false, "name": "SystemEvent", "preserveMemberOrder": false, "members": [ { "kind": "Method", "canonicalReference": "api-documenter-test!SystemEvent#addHandler:member(1)", "docComment": "/**\n * Adds an handler for the event.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "addHandler(handler: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "handler", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "addHandler" } ], "implementsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "api-documenter-test!TypeAlias:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TypeAlias = " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "src/index.ts", "releaseTag": "Public", "name": "TypeAlias", "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Function", "canonicalReference": "api-documenter-test!yamlReferenceUniquenessTest:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function yamlReferenceUniquenessTest(): " }, { "kind": "Reference", "text": "IDocInterface1", "canonicalReference": "api-documenter-test!IDocInterface1:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "src/index.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "yamlReferenceUniquenessTest" } ] } ] }