chore: use descriptive type parameter names (#9937)

* chore: use descriptive type parameter names

* refactor: requested changes

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2023-11-12 17:21:51 +00:00
committed by GitHub
parent 4ff3ea4a1b
commit 975d5f18ae
34 changed files with 1104 additions and 895 deletions

View File

@@ -1,9 +1,9 @@
import type { DeclarationReflection } from 'typedoc';
import type { Config, Item } from '../interfaces/index.js';
export class DocumentedItem<T = DeclarationReflection | Item> {
export class DocumentedItem<Data = DeclarationReflection | Item> {
public constructor(
public readonly data: T,
public readonly data: Data,
public readonly config: Config,
) {}