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
sometimes the jsdoc entries are on the interface and not on the type and this cause inconsistent results.
e.g.
problem
/**
* @description Deletes query by id
* @throws {SuiteScriptError} MISSING_REQD_ARGUMENT if options or query are undefined
* @throws {SuiteScriptError} WRONG_PARAMETER_TYPE if options isn't object or id isn't number
* @throws {SuiteScriptError} UNABLE_TO_DELETE_QUERY if query doesn't exist or no permissions to delete it
* @returns {ResultsSet}
*/
interface RunSuiteQL {
(options: RunSuiteQLOptions): ResultSet;
promise: (options: RunSuiteQLOptions) => Promise<ResultSet>;
}
export const runSuiteQL: RunSuiteQL;
should be
interfaceRunSuiteQL{(options: RunSuiteQLOptions): ResultSet;promise: (options: RunSuiteQLOptions)=>Promise<ResultSet>;}/** * @description Deletes query by id * @throws {SuiteScriptError} MISSING_REQD_ARGUMENT if options or query are undefined * @throws {SuiteScriptError} WRONG_PARAMETER_TYPE if options isn't object or id isn't number * @throws {SuiteScriptError} UNABLE_TO_DELETE_QUERY if query doesn't exist or no permissions to delete it * @returns {ResultsSet} */exportconstrunSuiteQL: RunSuiteQL;
The text was updated successfully, but these errors were encountered:
Thank you for reporting this! I have fixed a few instances of this in the N/query module, to be included in the next version of this module. Have you spotted any other modules where this happened?
sometimes the jsdoc entries are on the interface and not on the type and this cause inconsistent results.
e.g.
problem
should be
The text was updated successfully, but these errors were encountered: