method FSWatcher.onceFSWatcher.once(event: string,listener: (...args: any[]) => void,): thisDeprecatedParametersevent: stringlistener: (...args: any[]) => voidReturn TypethisFSWatcher.once(event: "change",listener: (eventType: string,filename: string | Buffer,) => void,): thisDeprecatedParametersevent: "change"listener: (eventType: string,filename: string | Buffer,) => voidReturn TypethisFSWatcher.once(event: "close",listener: () => void,): thisDeprecatedParametersevent: "close"listener: () => voidReturn TypethisFSWatcher.once(event: "error",listener: (error: Error) => void,): thisDeprecatedParametersevent: "error"listener: (error: Error) => voidReturn Typethis