chore(docs): Update API ref

This commit is contained in:
Luan
2024-11-22 04:25:16 -03:00
parent fc5571629e
commit 4e9d64404e
927 changed files with 26023 additions and 9839 deletions

View File

@@ -4,21 +4,24 @@
> **observe**\<`T`\>(`obj`): [`ObservedArray`](../type-aliases/ObservedArray.md)\<`T`\>
Creates a trap to intercept property access
and add utilities to an object.
Creates an observed array that provides additional utility methods for array manipulation and filtering.
## Type Parameters
**T** *extends* [`YTNode`](../classes/YTNode.md)
Type extending YTNode
## Parameters
**obj**: `T`[]
Array to be observed
## Returns
[`ObservedArray`](../type-aliases/ObservedArray.md)\<`T`\>
## Defined in
[src/parser/helpers.ts:394](https://github.com/LuanRT/YouTube.js/blob/305a398158a6cac82e6ef288fed4bf1661c89d52/src/parser/helpers.ts#L394)
[src/parser/helpers.ts:433](https://github.com/LuanRT/YouTube.js/blob/fc5571629eca037af7de03f4b903da6add1f300b/src/parser/helpers.ts#L433)