refactor: upgrade to typescript-eslint v8

This commit is contained in:
Simon Chan 2024-08-03 17:26:57 +08:00
parent 6115266a87
commit 66a98f89ba
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
32 changed files with 278 additions and 180 deletions

View file

@ -61,12 +61,14 @@ export function placeholder<T>(): T {
// But using top level await to load them requires Node.js 14.1.
// So there is no point to do that. Let's just assume they exist in global.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
declare class TextEncoderType {
constructor();
encode(input: string): Uint8Array;
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
declare class TextDecoderType {
constructor();