typegenerator

This commit is contained in:
Jarred Sumner
2022-02-27 01:53:34 -08:00
parent a6901fdac1
commit 7576caa54a
5 changed files with 147 additions and 97 deletions

View File

@@ -7,6 +7,7 @@ const Maybe = JSC.Node.Maybe;
const Encoding = JSC.Node.Encoding;
const FeatureFlags = @import("../../../global.zig").FeatureFlags;
const Args = JSC.Node.NodeFS.Arguments;
const d = JSC.d;
const NodeFSFunction = fn (
*JSC.Node.NodeFS,
@@ -138,7 +139,7 @@ fn call(comptime Function: NodeFSFunctionEnum) NodeFSFunction {
pub const NodeFSBindings = JSC.NewClass(
JSC.Node.NodeFS,
.{ .name = "fs" },
.{ .name = "fs", .ts = .{ .module = .{ .path = "fs" } } },
.{
.access = .{