What does it mean in the curly braces after typescript function (inter): {area: number}?

typescript function (config:SquareConfig): what is the meaning in the curly braces after {color:string, area: number}? Isn"t the
config attribute specified by the interface SquareConfig? What is the function of
{color:string, area: number}

interface SquareConfig {
    color?: string
    width?: number
}
// {color:string, area: number}
function createSquare(config: SquareConfig): {color:string, area: number}{

}

is naturally the type of return value of this function. It is specified here that the return value must be color of string type and area of number type 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-1ea16c4-1b59.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-1ea16c4-1b59.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?