UNPKG

@microsoft/api-documenter

Version:

Read JSON files from api-extractor, generate documentation pages

20 lines 748 B
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. import { DocNodeContainer } from '@microsoft/tsdoc'; import { CustomDocNodeKind } from './CustomDocNodeKind'; /** * Represents a span of text that is styled with CommonMark emphasis (italics), strong emphasis (boldface), * or both. */ export class DocEmphasisSpan extends DocNodeContainer { constructor(parameters, children) { super(parameters, children); this.bold = !!parameters.bold; this.italic = !!parameters.italic; } /** @override */ get kind() { return CustomDocNodeKind.EmphasisSpan; } } //# sourceMappingURL=DocEmphasisSpan.js.map