refactor: use type enum in file stats for asar archive (#39889)
This commit is contained in:
parent
18f517d8a6
commit
d75a852743
5 changed files with 31 additions and 40 deletions
4
typings/internal-ambient.d.ts
vendored
4
typings/internal-ambient.d.ts
vendored
|
@ -72,9 +72,7 @@ declare namespace NodeJS {
|
|||
type AsarFileStat = {
|
||||
size: number;
|
||||
offset: number;
|
||||
isFile: boolean;
|
||||
isDirectory: boolean;
|
||||
isLink: boolean;
|
||||
type: number;
|
||||
}
|
||||
|
||||
interface AsarArchive {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue