Closed wll8 closed 2 years ago
Supported options:
left
right
const api = new CustomApi({ axiosConfig: { timeout: 10000, // timeouttimeout baseURL: config.baseApi, }, })
outStr = decomment(str, { trim: true, });
Note: timeout: 10000, there is a space after it
timeout: 10000,
const api = new CustomApi({ axiosConfig: { timeout: 10000, baseURL: config.baseApi, }, })
Note: timeout: 10000, there is no space after
Documentation tells you - remove empty lines that follow removed full-line comments. It is not relevant to space characters on the same line, only to extraneous lines that follow a comment line.
remove empty lines that follow removed full-line comments
trim supports deleting the blank characters before and after the comment
Supported options:
left
,right
,Source code:
Configuration:
Actual:
Note:
timeout: 10000,
there is a space after itexpect:
Note:
timeout: 10000,
there is no space after