...
This commit is contained in:
parent
a39f3b4ded
commit
ce61bedfe3
|
@ -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[]];
|
||||||
|
}
|
Loading…
Reference in New Issue