Skip to content

Commit 1ae43d1

Browse files
committed
unify password|null snowflake auth method typing
1 parent b6aeb42 commit 1ae43d1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/platform/notebooks/deepnote/integrationTypes.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,7 @@ interface BaseSnowflakeConfig extends BaseIntegrationConfig {
9595
export type SnowflakeIntegrationConfig = BaseSnowflakeConfig &
9696
(
9797
| {
98-
authMethod: null;
99-
username: string;
100-
password: string;
101-
}
102-
| {
103-
authMethod: typeof SnowflakeAuthMethods.PASSWORD;
98+
authMethod: typeof SnowflakeAuthMethods.PASSWORD | null;
10499
username: string;
105100
password: string;
106101
}

0 commit comments

Comments
 (0)