You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
manager/v2/fileSystem/FileSystem.ts:2032:57 - error TS2769: No overload matches this call.
Overload 1 of 4, '(ctx: RequestContext, rootPath: string | Path, subTree: SubTree, callback: SimpleCallback): void', gave the following error.
Argument of type 'String | Buffer | ResourceType' is not assignable to parameter of type 'SubTree'.
Type 'String' is not assignable to type 'SubTree'.
Index signature is missing in type 'String'.
Overload 2 of 4, '(ctx: RequestContext, rootPath: string | Path, resourceType: string | Buffer | ResourceType, callback: SimpleCallback): void', gave the following error.
Argument of type 'String | Buffer | ResourceType' is not assignable to parameter of type 'string | Buffer | ResourceType'.
Type 'String' is not assignable to type 'string | Buffer | ResourceType'.
Type 'String' is not assignable to type 'string'.
'string' is a primitive, but 'String' is a wrapper object. Prefer using 'string' when possible.
2032 this.addSubTree(ctx, childPath, value, cb)
~~~~~
The text was updated successfully, but these errors were encountered:
Using NodeJS 19, I get the following error:
The text was updated successfully, but these errors were encountered: