Given the function below, what is the inferred return type of `getConfig()` when called with no arguments?
function getConfig<T extends object = { debug: boolean }>(
override?: Partial<T>,
): T {
return { ...override } as T;
}
const c = getConfig();