This commit is contained in:
Kane 2023-03-31 23:35:02 +08:00
parent a39f3b4ded
commit ce61bedfe3
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
/*
* @Author: Kane
* @Date: 2023-03-31 22:46:13
* @LastEditors: Kane
* @FilePath: /ts-practice/src/tuple.ts
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
function tuple(): void
{
const rewardGainers: [string, string, string, string] = [ "a", "b", "c", "d", ];
type Staff = [string, string, number, string, ...string[]];
}