build(projects): update tsconfig、eslintrc

This commit is contained in:
Soybean
2022-03-12 16:21:40 +08:00
parent 4093dcd6dc
commit 75de2b0604
131 changed files with 1174 additions and 1140 deletions

View File

@@ -27,7 +27,7 @@ export function transformToTimeCountDown(seconds: number) {
* @param start - 开始范围
* @param end - 结束范围
*/
export function getRandomInterger(end: number, start: number = 0) {
export function getRandomInterger(end: number, start = 0) {
const range = end - start;
const random = Math.floor(Math.random() * range + start);
return random;