Promise resolver array does not work

I am using the following code to resolve promise outside function scope.

private promiseResolver: ()=>void;

getPromise(): Promise<any> {

    return new Promise((resolve, reject) => {
            this.promiseResolver = resolve;
        });
}

continueProcessing() {
        this.promiseResolver();
}

It works fine however I would like to create an array of promiseResolver to resolve multiple promises.

private promiseResolvers: [()=>void];

getPromise(): Promise<any> {
    return new Promise((resolve, reject) => {
            this.promiseResolvers.push(resolve);
        });
}

continueProcessing() {
        this.promiseResolvers[0]();
}

Somehow caller of the getPromise() function does not wait for a promise to resolve when using array.

Is it possible to create such array of promise resolvers?