保存进度!
This commit is contained in:
		@@ -54,5 +54,6 @@ module.exports = {
 | 
			
		||||
        // "comma-spacing": ["error", { "before": false, "after": true, },],
 | 
			
		||||
        "brace-style": ["error", "allman", { allowSingleLine: true, },],
 | 
			
		||||
        "@typescript-eslint/no-extra-semi": "off",
 | 
			
		||||
        "prefer-const": "warn",
 | 
			
		||||
    },
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										17
									
								
								code/ts/后端辅助工具/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										17
									
								
								code/ts/后端辅助工具/package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -108,7 +108,7 @@
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@typescript-eslint/eslint-plugin": {
 | 
			
		||||
      "version": "5.51.0",
 | 
			
		||||
      "resolved": "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.51.0.tgz",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.51.0.tgz",
 | 
			
		||||
      "integrity": "sha512-wcAwhEWm1RgNd7dxD/o+nnLW8oH+6RK1OGnmbmkj/GGoDPV1WWMVP0FXYQBivKHdwM1pwii3bt//RC62EriIUQ==",
 | 
			
		||||
      "dev": true,
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
@@ -126,6 +126,10 @@
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 | 
			
		||||
      },
 | 
			
		||||
      "funding": {
 | 
			
		||||
        "type": "opencollective",
 | 
			
		||||
        "url": "https://opencollective.com/typescript-eslint"
 | 
			
		||||
      },
 | 
			
		||||
      "peerDependencies": {
 | 
			
		||||
        "@typescript-eslint/parser": "^5.0.0",
 | 
			
		||||
        "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
 | 
			
		||||
@@ -138,7 +142,7 @@
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@typescript-eslint/parser": {
 | 
			
		||||
      "version": "5.51.0",
 | 
			
		||||
      "resolved": "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.51.0.tgz",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.51.0.tgz",
 | 
			
		||||
      "integrity": "sha512-fEV0R9gGmfpDeRzJXn+fGQKcl0inIeYobmmUWijZh9zA7bxJ8clPhV9up2ZQzATxAiFAECqPQyMDB4o4B81AaA==",
 | 
			
		||||
      "dev": true,
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
@@ -150,6 +154,10 @@
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 | 
			
		||||
      },
 | 
			
		||||
      "funding": {
 | 
			
		||||
        "type": "opencollective",
 | 
			
		||||
        "url": "https://opencollective.com/typescript-eslint"
 | 
			
		||||
      },
 | 
			
		||||
      "peerDependencies": {
 | 
			
		||||
        "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
 | 
			
		||||
      },
 | 
			
		||||
@@ -499,7 +507,7 @@
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/eslint": {
 | 
			
		||||
      "version": "8.33.0",
 | 
			
		||||
      "resolved": "https://registry.npmmirror.com/eslint/-/eslint-8.33.0.tgz",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.33.0.tgz",
 | 
			
		||||
      "integrity": "sha512-WjOpFQgKK8VrCnAtl8We0SUOy/oVZ5NHykyMiagV1M9r8IFpIJX7DduK6n1mpfhlG7T1NLWm2SuD8QB7KFySaA==",
 | 
			
		||||
      "dev": true,
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
@@ -548,6 +556,9 @@
 | 
			
		||||
      },
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 | 
			
		||||
      },
 | 
			
		||||
      "funding": {
 | 
			
		||||
        "url": "https://opencollective.com/eslint"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/eslint-scope": {
 | 
			
		||||
 
 | 
			
		||||
@@ -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