summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-16 19:14:56 -0400
committerGitHub <noreply@github.com>2023-03-17 00:14:56 +0100
commit3f031ad9af2d61671f8408632f31592ac4186926 (patch)
treea1702dffb6794e3154cc6d89e0961fcfdb480a3c /cli/tsc
parent8efda832e2c2a5652a0229ee6628ff704d39285f (diff)
BREAKING(ext/fs): FileInfo.dev is defined on Windows (#18237)
Addresses feedback from https://github.com/denoland/deno/pull/18073#issuecomment-1471480385. Reverts changes to `FileInfo` fields that are not available on Windows making them `null`. Only `FileInfo.dev` is non-null.
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts30
1 files changed, 15 insertions, 15 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts
index 472c147d0..7431d3c05 100644
--- a/cli/tsc/dts/lib.deno.ns.d.ts
+++ b/cli/tsc/dts/lib.deno.ns.d.ts
@@ -3082,37 +3082,37 @@ declare namespace Deno {
dev: number;
/** Inode number.
*
- * _Linux/Mac OS only, always returns 0 on Windows_ */
- ino: number;
+ * _Linux/Mac OS only._ */
+ ino: number | null;
/** **UNSTABLE**: Match behavior with Go on Windows for `mode`.
*
* The underlying raw `st_mode` bits that contain the standard Unix
* permissions for this file/directory. */
- mode: number;
+ mode: number | null;
/** Number of hard links pointing to this file.
*
- * _Linux/Mac OS only, always returns 0 on Windows_ */
- nlink: number;
+ * _Linux/Mac OS only._ */
+ nlink: number | null;
/** User ID of the owner of this file.
*
- * _Linux/Mac OS only, always returns 0 on Windows_ */
- uid: number;
+ * _Linux/Mac OS only._ */
+ uid: number | null;
/** Group ID of the owner of this file.
*
- * _Linux/Mac OS only, always returns 0 on Windows_ */
- gid: number;
+ * _Linux/Mac OS only._ */
+ gid: number | null;
/** Device ID of this file.
*
- * _Linux/Mac OS only, always returns 0 on Windows_ */
- rdev: number;
+ * _Linux/Mac OS only._ */
+ rdev: number | null;
/** Blocksize for filesystem I/O.
*
- * _Linux/Mac OS only, always returns 0 on Windows_ */
- blksize: number;
+ * _Linux/Mac OS only._ */
+ blksize: number | null;
/** Number of blocks allocated to the file, in 512-byte units.
*
- * _Linux/Mac OS only, always returns 0 on Windows_ */
- blocks: number;
+ * _Linux/Mac OS only._ */
+ blocks: number | null;
}
/** Resolves to the absolute normalized path, with symbolic links resolved.