Skip to content

Commit fb35705

Browse files
committed
feat: re-export auth types and ConnectorOptions (fixes #555)
1 parent ea7318b commit fb35705

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/connector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class CloudSQLInstanceMap extends Map<string, CacheEntry> {
176176
}
177177
}
178178

179-
interface ConnectorOptions {
179+
export interface ConnectorOptions {
180180
auth?: GoogleAuth<AuthClient> | AuthClient;
181181
sqlAdminAPIEndpoint?: string;
182182
/**

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import {
1616
Connector,
17+
ConnectorOptions,
1718
ConnectionOptions,
1819
DriverOptions,
1920
UnixSocketOptions,
@@ -23,6 +24,7 @@ import {AuthTypes} from './auth-types';
2324

2425
export {
2526
Connector,
27+
type ConnectorOptions,
2628
type ConnectionOptions,
2729
type DriverOptions,
2830
type UnixSocketOptions,

0 commit comments

Comments
 (0)