mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-16 10:58:34 -05:00
Updates to latest vscode extension template
Removes typings (using npm instead) Fixes some promise catches
This commit is contained in:
45
typings/globals/tmp/index.d.ts
vendored
45
typings/globals/tmp/index.d.ts
vendored
@@ -1,45 +0,0 @@
|
||||
// Generated by typings
|
||||
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5d6115f046550714a28caa3555f47a1aec114fe5/tmp/tmp.d.ts
|
||||
declare module "tmp" {
|
||||
|
||||
namespace tmp {
|
||||
interface Options extends SimpleOptions {
|
||||
mode?: number;
|
||||
}
|
||||
|
||||
interface SimpleOptions {
|
||||
prefix?: string;
|
||||
postfix?: string;
|
||||
template?: string;
|
||||
dir?: string;
|
||||
tries?: number;
|
||||
keep?: boolean;
|
||||
unsafeCleanup?: boolean;
|
||||
}
|
||||
|
||||
interface SynchrounousResult {
|
||||
name: string;
|
||||
fd: number;
|
||||
removeCallback: () => void;
|
||||
}
|
||||
|
||||
function file(callback: (err: any, path: string, fd: number, cleanupCallback: () => void) => void): void;
|
||||
function file(config: Options, callback?: (err: any, path: string, fd: number, cleanupCallback: () => void) => void): void;
|
||||
|
||||
function fileSync(config?: Options): SynchrounousResult;
|
||||
|
||||
function dir(callback: (err: any, path: string, cleanupCallback: () => void) => void): void;
|
||||
function dir(config: Options, callback?: (err: any, path: string, cleanupCallback: () => void) => void): void;
|
||||
|
||||
function dirSync(config?: Options): SynchrounousResult;
|
||||
|
||||
function tmpName(callback: (err: any, path: string) => void): void;
|
||||
function tmpName(config: SimpleOptions, callback?: (err: any, path: string) => void): void;
|
||||
|
||||
function tmpNameSync(config?: SimpleOptions): string;
|
||||
|
||||
function setGracefulCleanup(): void;
|
||||
}
|
||||
|
||||
export = tmp;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5d6115f046550714a28caa3555f47a1aec114fe5/tmp/tmp.d.ts",
|
||||
"raw": "registry:dt/tmp#0.0.0+20160514170650",
|
||||
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5d6115f046550714a28caa3555f47a1aec114fe5/tmp/tmp.d.ts"
|
||||
}
|
||||
}
|
||||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1 +0,0 @@
|
||||
/// <reference path="globals/tmp/index.d.ts" />
|
||||
1
typings/node.d.ts
vendored
1
typings/node.d.ts
vendored
@@ -1 +0,0 @@
|
||||
/// <reference path="../node_modules/vscode/typings/node.d.ts" />
|
||||
1
typings/vscode-typings.d.ts
vendored
1
typings/vscode-typings.d.ts
vendored
@@ -1 +0,0 @@
|
||||
/// <reference path="../node_modules/vscode/typings/index.d.ts" />
|
||||
Reference in New Issue
Block a user