Skip to content

Commit e882e1a

Browse files
authored
fix: use typescript import/export for gapics (#611)
1 parent bb26010 commit e882e1a

File tree

3 files changed

+1382
-1357
lines changed

3 files changed

+1382
-1357
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
* @property {constructor} SubscriberClient
7575
* Reference to {@link v1.SubscriberClient}.
7676
*/
77-
module.exports.v1 = require('./v1');
77+
const v1 = require('./v1');
78+
export {v1};
7879

7980
export {CallOptions} from 'google-gax';
8081
export {ServiceError} from 'grpc';

0 commit comments

Comments
 (0)