Fix tag_kinds.md code sample as suggested by @Gerrit0

This commit is contained in:
Pete Gonzalez 2021-05-14 10:52:53 -07:00
Родитель 0ff6640661
Коммит 6a961532d2
1 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@ -78,13 +78,19 @@ by `{` and `}` characters. The `@link` and `@inheritDoc` tags are examples of i
```ts
class Book {
/**
* Saves the book to the database.
* Writes the book information into a JSON file.
*
* @remarks
* {@inheritDoc example-library#Serializer.writeFile}
*
* @deprecated
* Use {@link example-library#Serializer.writeFile} instead of this method.
* This method saves the book information to a JSON file conforming to the standardized
* {@link http://example.com/ | Example Book Interchange Format}.
*/
public writeFile(options?: IWriteFileOptions): void {
. . .
}
/**
* {@inheritDoc Book.writeFile}
* @deprecated Use {@link Book.writeFile} instead.
*/
public save(): void {
. . .