保存进度!
This commit is contained in:
parent
44acd8856a
commit
f4769057db
|
@ -2,14 +2,17 @@
|
||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2023-02-10 15:08:53
|
* @Date: 2023-02-10 15:08:53
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2023-02-10 15:15:41
|
* @LastEditTime: 2023-02-11 00:12:33
|
||||||
* @FilePath: /后端辅助工具/src/DataType/DataType.ts
|
* @FilePath: /后端辅助工具/src/DataType/DataType.ts
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||||
*/
|
*/
|
||||||
/* eslint */
|
/*eslint no-unused-vars: "off" */
|
||||||
|
/*eslint @typescript-eslint/no-unused-vars: "off" */
|
||||||
//Tuple
|
//Tuple
|
||||||
var tu = [1, 1, 2,];
|
const tu = [1, 1, 2,];
|
||||||
var toArray = [1, 2, "3",];
|
const toArray = [1, 2, "3",];
|
||||||
var v1 = toArray;
|
const v1 = toArray;
|
||||||
|
const s1 = "string";
|
||||||
|
console.log(typeof s1);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
var greetings = "Hello, World!";
|
const greetings = "Hello, World!";
|
||||||
// console.log( greetings );
|
// console.log( greetings );
|
||||||
var Season;
|
var Season;
|
||||||
(function (Season) {
|
(function (Season) {
|
||||||
|
@ -8,16 +8,16 @@ var Season;
|
||||||
Season[Season["winter"] = 4] = "winter";
|
Season[Season["winter"] = 4] = "winter";
|
||||||
})(Season || (Season = {}));
|
})(Season || (Season = {}));
|
||||||
;
|
;
|
||||||
var ar = [
|
const ar = [
|
||||||
"1", "2",
|
"1", "2",
|
||||||
];
|
];
|
||||||
var ar2 = [
|
const ar2 = [
|
||||||
1, 2, 3, "4",
|
1, 2, 3, "4",
|
||||||
];
|
];
|
||||||
var ar3 = [1, 2, 3, 4, 5, "7",];
|
const ar3 = [1, 2, 3, 4, 5, "7",];
|
||||||
var today = Season.spring;
|
const today = Season.spring;
|
||||||
function ts() {
|
function ts() {
|
||||||
var message = "message";
|
const message = "message";
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
ts();
|
ts();
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2023-02-09 15:24:20
|
* @Date: 2023-02-09 15:24:20
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2023-02-10 10:16:40
|
* @LastEditTime: 2023-02-13 09:26:45
|
||||||
* @FilePath: /后端辅助工具/tsconfig.json
|
* @FilePath: /后端辅助工具/tsconfig.json
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
|
@ -13,6 +13,8 @@
|
||||||
"outDir": "./target",
|
"outDir": "./target",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
|
"module": "commonJS",
|
||||||
|
"target": "ES6",
|
||||||
},
|
},
|
||||||
// "files": [
|
// "files": [
|
||||||
// "./src/main.ts",
|
// "./src/main.ts",
|
||||||
|
|
Loading…
Reference in New Issue