chore: bump Prettier to the latest (#4185)

This commit is contained in:
Lipis 2021-11-01 15:24:05 +02:00 committed by GitHub
parent 277ffaacb9
commit 1c7056bdaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 226 additions and 284 deletions

7
src/global.d.ts vendored
View file

@ -49,8 +49,7 @@ type MarkRequired<T, RK extends keyof T> = Exclude<T, RK> &
type MarkNonNullable<T, K extends keyof T> = {
[P in K]-?: P extends K ? NonNullable<T[P]> : T[P];
} &
{ [P in keyof T]: T[P] };
} & { [P in keyof T]: T[P] };
// PNG encoding/decoding
// -----------------------------------------------------------------------------
@ -102,10 +101,10 @@ declare module "*.scss";
// (due to TS structural typing)
// https://github.com/microsoft/TypeScript/issues/31311#issuecomment-490690695
interface ArrayBuffer {
private _brand?: "ArrayBuffer";
_brand?: "ArrayBuffer";
}
interface Uint8Array {
private _brand?: "Uint8Array";
_brand?: "Uint8Array";
}
// --------------------------------------------------------------------------—