保存进度!
This commit is contained in:
@@ -2,17 +2,24 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2023-02-10 15:08:53
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2023-02-10 15:15:41
|
||||
* @LastEditTime: 2023-02-10 23:43:30
|
||||
* @FilePath: /后端辅助工具/src/DataType/DataType.ts
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
/* eslint */
|
||||
/*eslint no-unused-vars: "off" */
|
||||
/*eslint @typescript-eslint/no-unused-vars: "off" */
|
||||
|
||||
|
||||
//Tuple
|
||||
const tu: readonly [number, number, number] = [1, 1, 2,];
|
||||
|
||||
const toArray: [number, number, string] = [1, 2, "3",];
|
||||
const v1: (number | string)[] = toArray;
|
||||
const v1: (number | string)[] = toArray;
|
||||
|
||||
const s1 = "string";
|
||||
|
||||
console.log(typeof s1);
|
||||
|
||||
const obj: object = {x:0, y:0,};
|
||||
|
Reference in New Issue
Block a user