a = { resource: (this.resource = resource), }; map(([resource]) => ({ resource: (this.resource = resource), }));