mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Merge branch 'master' into feature/lens-proxy-tls
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
commit
76a62aec10
947 files changed
+78143
-22447
No files matched your search
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
// Type definitions for command-exists 1.2
|
||||
// Project: https://github.com/mathisonian/command-exists
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = commandExists;
|
||||
|
||||
declare function commandExists(commandName: string): Promise<string>;
|
||||
declare function commandExists(
|
||||
commandName: string,
|
||||
cb: (error: null, exists: boolean) => void
|
||||
): void;
|
||||
|
||||
declare namespace commandExists {
|
||||
function sync(commandName: string): boolean;
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
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