mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
chore: bump Prettier to the latest (#4185)
This commit is contained in:
parent
277ffaacb9
commit
1c7056bdaa
43 changed files with 226 additions and 284 deletions
7
src/global.d.ts
vendored
7
src/global.d.ts
vendored
|
@ -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";
|
||||
}
|
||||
// --------------------------------------------------------------------------—
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue