1. const array = ['a', 'b', 'c'];
    2. type ArrayType = typeof array; // string[];
    3. type ItemType = ArrayType[number]; // string
    4. // 简写
    5. type NextItemType = (typeof array)[number];
    const array = ['a', '1', true];
    type ItemType = (typeof array)[number];       // string | number | boolean
    type ItemTypeString = (typeof array)[0];      // string