No exact matches in call to initializer

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

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