保存进度!

This commit is contained in:
Kane Wang 2023-03-31 18:07:06 +08:00
parent 4ffe05ee95
commit 3f98fac660
4 changed files with 4770 additions and 4747 deletions

View File

@ -30,9 +30,9 @@
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-vue": "^9.10.0",
"sass": "^1.60.0",
"typescript": "^5.0.2",
"typescript": "^5.0.3",
"vite": "^4.2.1",
"vue-eslint-parser": "^9.1.0"
"vue-eslint-parser": "^9.1.1"
}
},
"node_modules/@achrinza/node-ipc": {
@ -11899,9 +11899,9 @@
}
},
"node_modules/typescript": {
"version": "5.0.2",
"resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.0.2.tgz",
"integrity": "sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==",
"version": "5.0.3",
"resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.0.3.tgz",
"integrity": "sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@ -12087,9 +12087,9 @@
}
},
"node_modules/vue-eslint-parser": {
"version": "9.1.0",
"resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-9.1.0.tgz",
"integrity": "sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==",
"version": "9.1.1",
"resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-9.1.1.tgz",
"integrity": "sha512-C2aI/r85Q6tYcz4dpgvrs4wH/MqVrRAVIdpYedrxnATDHHkb+TroeRcDpKWGZCx/OcECMWfz7tVwQ8e+Opy6rA==",
"dev": true,
"dependencies": {
"debug": "^4.3.4",

View File

@ -31,8 +31,8 @@
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-vue": "^9.10.0",
"sass": "^1.60.0",
"typescript": "^5.0.2",
"typescript": "^5.0.3",
"vite": "^4.2.1",
"vue-eslint-parser": "^9.1.0"
"vue-eslint-parser": "^9.1.1"
}
}

View File

@ -9,3 +9,26 @@
*/
import { queryDepartmentArchievement } from "../utils/archievement.js";
interface Cat
{
name: string;
purrs: boolean;
};
interface Dog
{
// name: string;
barks: true;
wags: true;
}
type CatOrDog = Cat | Dog;
const animal: CatOrDog =
{
name: "kaka",
purrs: true,
barks: true,
wags: true,
};

File diff suppressed because it is too large Load Diff