-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
housekeeping: cleanup logs, tsc errors, global requires #7240
Conversation
Signed-off-by: Guy Margalit <guymguym@gmail.com>
Signed-off-by: Guy Margalit <guymguym@gmail.com>
@@ -692,7 +700,13 @@ class NamespaceS3 { | |||
|
|||
/** | |||
* | |||
* @param {AWS.S3.HeadObjectOutput | AWS.S3.GetObjectOutput} res | |||
* @param {Omit<Partial< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Omit
is from typescript? (it is a javascript file I don't understand).
And another question - did you use an automatic tool for all the changes that are JSDoc comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a jsdoc with typescript.
https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html#supported-jsdoc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the tool is tsc - npm run ts
@@ -307,6 +304,7 @@ class ObjectSDK { | |||
|
|||
_setup_merge_namespace(bucket) { | |||
let rr = _.cloneDeep(bucket.namespace.read_resources); | |||
/** @type {nb.Namespace} */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This @type
is for the wr
variable?
If so, why not add the @type
line before rr
variable statement?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leaving something for others :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Explain the changes
Issues: Fixed #xxx / Gap #xxx
Testing Instructions: