This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -33,7 +33,7 @@ import js.Error;
/**
Enumeration of possible types of changes for 'change' event.
**/
@:enum abstract FSWatcherChangeType(String) from String to String {
enum abstract FSWatcherChangeType(String) from String to String {
var Change = "change";
var Rename = "rename";
}
@ -41,7 +41,7 @@ import js.Error;
/**
Enumeration of the events emitted by `FSWatcher`.
**/
@:enum abstract FSWatcherEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
enum abstract FSWatcherEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
/**
Emitted when something changes in a watched directory or file. See more details in `Fs.watch`.

View File

@ -25,7 +25,7 @@ package js.node.fs;
import js.node.Fs.FsPath;
import js.node.events.EventEmitter.Event;
@:enum abstract ReadStreamEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
enum abstract ReadStreamEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
/**
Emitted when the `ReadStream`'s file is opened.

View File

@ -25,7 +25,7 @@ package js.node.fs;
import js.node.Fs.FsPath;
import js.node.events.EventEmitter.Event;
@:enum abstract WriteStreamEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
enum abstract WriteStreamEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
/**
Emitted when the `WriteStream`'s file is opened.