projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid manual memory management in NioPeerHandler
[ldk-java]
/
ts
/
node
/
fs.d.ts
diff --git
a/ts/node/fs.d.ts
b/ts/node/fs.d.ts
index 76792ddd5376195453b0f15838f4731a139bb080..95a17e0b89189f7daede93c640adb736fbd46f45 100755
(executable)
--- a/
ts/node/fs.d.ts
+++ b/
ts/node/fs.d.ts
@@
-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' {
// 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,
export type PathOrFileDescriptor = PathLike | number;
export function readFileSync(
path: PathOrFileDescriptor,