How typescript describes arrays with interfaces

recently in learning TS, refer to this tutorial . For the example given in, use the interface to describe the array

interface NumberArray {
    [index: number]: number;
}
let fibonacci: NumberArray = [1, 1, 2, 3, 5];

so, if the code says so

interface NumberArray {
    [index: string]: number;
}

so how can I write an array that matches the interface

Jun.29,2021

confused myself. The array whose key value is of type string is the literal quantity of the object.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35a12-2bf93.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35a12-2bf93.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?