src/vs/platform/extensionManagement/common/extensionGalleryService.ts/Query/withFlags
class Query:	withFlags(...flags: Flags[]): Query {
		return new Query({ ...this.state, flags: flags.reduce<number>((r, f) => r | f, 0) });
	}