Revert "remove windows-mutex from typings"
This reverts commit bf1ee60165
.
This commit is contained in:
parent
dca100feaa
commit
655bd8f303
3 changed files with 19 additions and 5 deletions
|
@ -156,7 +156,7 @@
|
||||||
"vscode-windows-ca-certs": "0.2.0",
|
"vscode-windows-ca-certs": "0.2.0",
|
||||||
"vscode-windows-registry": "1.0.2",
|
"vscode-windows-registry": "1.0.2",
|
||||||
"windows-foreground-love": "0.2.0",
|
"windows-foreground-love": "0.2.0",
|
||||||
"windows-mutex": "^0.4.0",
|
"windows-mutex": "0.3.0",
|
||||||
"windows-process-tree": "0.2.4"
|
"windows-process-tree": "0.2.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
14
src/typings/windows-mutex.d.ts
vendored
Normal file
14
src/typings/windows-mutex.d.ts
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
declare module 'windows-mutex' {
|
||||||
|
export class Mutex {
|
||||||
|
constructor(name: string);
|
||||||
|
isActive(): boolean;
|
||||||
|
release(): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function isActive(name: string): boolean;
|
||||||
|
}
|
|
@ -9144,10 +9144,10 @@ windows-foreground-love@0.2.0:
|
||||||
resolved "https://registry.yarnpkg.com/windows-foreground-love/-/windows-foreground-love-0.2.0.tgz#b291832d8a02a966bc046ba0e498cc789809076b"
|
resolved "https://registry.yarnpkg.com/windows-foreground-love/-/windows-foreground-love-0.2.0.tgz#b291832d8a02a966bc046ba0e498cc789809076b"
|
||||||
integrity sha512-72ZDshnt8Q3/ImLMt4wxsY8eVnUd1KDb5QfvZX09AxJJJa0hGdyzPfd/ms0pKSYYwKlEhB1ri+WDKNvdIpJknQ==
|
integrity sha512-72ZDshnt8Q3/ImLMt4wxsY8eVnUd1KDb5QfvZX09AxJJJa0hGdyzPfd/ms0pKSYYwKlEhB1ri+WDKNvdIpJknQ==
|
||||||
|
|
||||||
windows-mutex@^0.4.0:
|
windows-mutex@0.3.0:
|
||||||
version "0.4.0"
|
version "0.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/windows-mutex/-/windows-mutex-0.4.0.tgz#71d6ebed3a6d1e760d3f2237bcf56aea0be32b0d"
|
resolved "https://registry.yarnpkg.com/windows-mutex/-/windows-mutex-0.3.0.tgz#2f51a0c97b3979c98952b23c086035f1f3715fab"
|
||||||
integrity sha512-oC9WQX8iEQOh1awwlQEsWkN/jDmk19M0v34RIqQUp9XMvQmlKmfdBv6c2HCPomnvZBAS13Ch3XUhLIFFr6V0/g==
|
integrity sha512-IDWzyHOEpQr7m590pT90jMbCYNe525d7BgP6F80TjispEu2gWMvTIoSuO6Sy4atIEhvs3ys7DVlKdLzIAyRviQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
bindings "^1.2.1"
|
bindings "^1.2.1"
|
||||||
nan "^2.14.0"
|
nan "^2.14.0"
|
||||||
|
|
Loading…
Reference in a new issue