diff --git a/packages/backend-core/src/configs/configs.ts b/packages/backend-core/src/configs/configs.ts index b46eef6834..38e7bcbb29 100644 --- a/packages/backend-core/src/configs/configs.ts +++ b/packages/backend-core/src/configs/configs.ts @@ -157,7 +157,9 @@ export async function getGoogleConfig(): Promise< return config?.config } -export async function getGoogleDatasourceConfig(): Promise { +export async function getGoogleDatasourceConfig(): Promise< + GoogleInnerConfig | undefined +> { if (!env.SELF_HOSTED) { // always use the env vars in cloud return getDefaultGoogleConfig()