[TS] Add additional node API interface bits for net
[ldk-java] / ts / node / fs.d.ts
index 76792ddd5376195453b0f15838f4731a139bb080..95a17e0b89189f7daede93c640adb736fbd46f45 100755 (executable)
@@ -1,7 +1,7 @@
 // Minimal part of the Node fs API which we depend on.
 // May be (c) Microsoft licensed under the MIT license, however API's are not generally copyrightable per recent precedent.
 declare module 'fs' {
-    export type PathLike = string | Buffer | URL;
+    export type PathLike = string | URL;
     export type PathOrFileDescriptor = PathLike | number;
     export function readFileSync(
         path: PathOrFileDescriptor,