1/** 2 * Copyright (c) 2020 Gitpod GmbH. All rights reserved. 3 * Licensed under the GNU Affero General Public License (AGPL). 4 * See License.AGPL.txt in the project root for license information. 5 */ 6 7/** 8 * Takes the idea of Partial<T> and applies that recursively to all child objects 9 */ 10export type DeepPartial<T> = { 11 [P in keyof T]?: DeepPartial<T[P]>; 12}; 13 14