mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Merge from vscode 011858832762aaff245b2336fb1c38166e7a10fb (#4663)
This commit is contained in:
2
src/typings/lib.ie11_safe_es6.d.ts
vendored
2
src/typings/lib.ie11_safe_es6.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Defined a subset of ES6 built ins that run in IE11
|
||||
|
||||
18
src/typings/spdlog.d.ts
vendored
18
src/typings/spdlog.d.ts
vendored
@@ -6,7 +6,7 @@
|
||||
declare module 'spdlog' {
|
||||
|
||||
export const version: string;
|
||||
export function setAsyncMode(bufferSize: number, flushInterval: number);
|
||||
export function setAsyncMode(bufferSize: number, flushInterval: number): void;
|
||||
|
||||
export enum LogLevel {
|
||||
CRITICAL,
|
||||
@@ -21,14 +21,14 @@ declare module 'spdlog' {
|
||||
export class RotatingLogger {
|
||||
constructor(name: string, filename: string, filesize: number, filecount: number);
|
||||
|
||||
trace(message: string);
|
||||
debug(message: string);
|
||||
info(message: string);
|
||||
warn(message: string);
|
||||
error(message: string);
|
||||
critical(message: string);
|
||||
setLevel(level: number);
|
||||
clearFormatters();
|
||||
trace(message: string): void;
|
||||
debug(message: string): void;
|
||||
info(message: string): void;
|
||||
warn(message: string): void;
|
||||
error(message: string): void;
|
||||
critical(message: string): void;
|
||||
setLevel(level: number): void;
|
||||
clearFormatters(): void;
|
||||
/**
|
||||
* A synchronous operation to flush the contents into file
|
||||
*/
|
||||
|
||||
2
src/typings/sudo-prompt.d.ts
vendored
2
src/typings/sudo-prompt.d.ts
vendored
@@ -5,5 +5,5 @@
|
||||
|
||||
declare module 'sudo-prompt' {
|
||||
|
||||
export function exec(cmd: string, options: { name?: string, icns?: string }, callback: (error: string, stdout: string, stderr: string) => void);
|
||||
export function exec(cmd: string, options: { name?: string, icns?: string }, callback: (error: string, stdout: string, stderr: string) => void): void;
|
||||
}
|
||||
6
src/typings/yauzl.d.ts
vendored
6
src/typings/yauzl.d.ts
vendored
@@ -31,9 +31,9 @@ declare module 'yauzl' {
|
||||
}
|
||||
|
||||
export class ZipFile extends EventEmitter {
|
||||
readEntry();
|
||||
openReadStream(entry: Entry, callback: (err?: Error, stream?: Readable) => void);
|
||||
close();
|
||||
readEntry(): void;
|
||||
openReadStream(entry: Entry, callback: (err?: Error, stream?: Readable) => void): void;
|
||||
close(): void;
|
||||
isOpen: boolean;
|
||||
entryCount: number;
|
||||
comment: string;
|
||||
|
||||
6
src/typings/yazl.d.ts
vendored
6
src/typings/yazl.d.ts
vendored
@@ -8,8 +8,8 @@ declare module 'yazl' {
|
||||
|
||||
class ZipFile {
|
||||
outputStream: stream.Stream;
|
||||
addBuffer(buffer: Buffer, path: string);
|
||||
addFile(localPath: string, path: string);
|
||||
end();
|
||||
addBuffer(buffer: Buffer, path: string): void;
|
||||
addFile(localPath: string, path: string): void;
|
||||
end(): void;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user