No exact matches in call to initializer

func getLocation() -> Promise<CLLocationCoordinate2D> {
    return Promise { fulfill, reject in
        firstly {
        }.then { location in
        }.catch { (error) in

In the code above, I am getting the error, "No exact matches in call to initializer" for Promise block as shown in this image

Problematic code as an Image.

I'm working in Swift 5

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum