mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-30 09:55:18 +00:00
chore(docs): update
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
# Function: toParser()
|
||||
|
||||
> **toParser**(`key`, `inference_type`, `key_path`, `indentation`): `string`
|
||||
> **toParser**(`key`, `inference_type`, `key_path?`, `indentation?`): `string`
|
||||
|
||||
Defined in: [src/parser/generator.ts:578](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L578)
|
||||
Defined in: [src/parser/generator.ts:578](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L578)
|
||||
|
||||
Generate statements to parse a given inference type
|
||||
|
||||
@@ -22,13 +22,13 @@ The key to parse
|
||||
|
||||
The inference type to parse
|
||||
|
||||
### key\_path
|
||||
### key\_path?
|
||||
|
||||
`string`[] = `...`
|
||||
|
||||
The path to the key (excluding the key itself)
|
||||
|
||||
### indentation
|
||||
### indentation?
|
||||
|
||||
`number` = `1`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user