mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
lint whole repo (#1600)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
dcf253e7d5
commit
f3f9f08c0a
8 files changed
+110
-105
No files matched your search
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
export {}
|
||||
export {};
|
||||
|
||||
declare global {
|
||||
interface Element {
|
||||
scrollIntoViewIfNeeded(opt_center?: boolean): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+6
-6
@@ -1,6 +1,6 @@
|
||||
// https://www.w3.org/TR/css-font-loading/
|
||||
// https://developer.mozilla.org/en-US/docs/Web/API/FontFace
|
||||
export {}
|
||||
export {};
|
||||
|
||||
declare global {
|
||||
const FontFace: FontFace;
|
||||
@@ -10,11 +10,11 @@ declare global {
|
||||
}
|
||||
|
||||
type CSSOMString = string;
|
||||
type FontFaceLoadStatus = 'unloaded' | 'loading' | 'loaded' | 'error';
|
||||
type FontFaceSetStatus = 'loading' | 'loaded';
|
||||
type FontFaceLoadStatus = "unloaded" | "loading" | "loaded" | "error";
|
||||
type FontFaceSetStatus = "loading" | "loaded";
|
||||
|
||||
interface FontFace extends FontFaceDescriptors {
|
||||
new(family: string, source: string | ArrayBuffer, descriptors?: FontFaceDescriptors): FontFace;
|
||||
class FontFace implements FontFaceDescriptors {
|
||||
constructor(family: string, source: string | ArrayBuffer, descriptors?: FontFaceDescriptors);
|
||||
readonly status: FontFaceLoadStatus;
|
||||
readonly loaded: Promise<FontFace>;
|
||||
variationSettings: CSSOMString;
|
||||
@@ -41,4 +41,4 @@ declare global {
|
||||
delete(font: FontFace): void;
|
||||
clear(): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user