perf: Use named Parser import, to allow bundlers to create direct function references (#535)

Co-authored-by: Luan <luan.lrt4@gmail.com>
This commit is contained in:
absidue
2023-12-01 02:31:59 +01:00
committed by GitHub
parent b50e2001aa
commit 95ed60207a
225 changed files with 224 additions and 227 deletions

View File

@@ -31,7 +31,7 @@ For example, suppose we have found a new renderer named `verticalListRenderer`.
> `../classes/VerticalList.ts`
```ts
import Parser, { RawNode } from '../index.js';
import { Parser, RawNode } from '../index.js';
import { YTNode } from '../helpers.js';
export default class VerticalList extends YTNode {