File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment, @typescript-eslint/prefer-ts-expect-error
2
- // @ts -ignore It’s important to preserve this ignore statement. This makes sure
3
- // it works both with and without node types.
4
- import { Buffer } from 'buffer'
5
-
6
1
import type { Reporter } from './lib/index.js'
7
2
8
3
/**
9
4
* This is the same as `Buffer` if node types are included, `never` otherwise.
10
5
*/
6
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment, @typescript-eslint/prefer-ts-expect-error
7
+ // @ts -ignore It’s important to preserve this ignore statement. This makes sure
8
+ // it works both with and without node types.
9
+ // eslint-disable-next-line node/prefer-global/buffer
11
10
type MaybeBuffer = any extends Buffer ? never : Buffer
12
11
13
12
/**
You can’t perform that action at this time.
0 commit comments