Skip to content

Commit 47f72d8

Browse files
authored
Re-export Change from v1 & v2 root (#1158)
- Re-export Change from the v1 & v2 index.ts - In v1, we can export from `cloud-functions.ts` since that module is exported from the root
1 parent a00ad92 commit 47f72d8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/cloud-functions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ import {
3939
} from './common/encoding';
4040
import { ManifestEndpoint, ManifestRequiredAPI } from './runtime/manifest';
4141

42+
export { Change } from './common/change';
43+
4244
/** @hidden */
4345
const WILDCARD_REGEX = new RegExp('{[^/{}]*}', 'g');
4446

src/v2/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,6 @@ export {
6060
EventHandlerOptions,
6161
} from './options';
6262

63+
export { Change } from '../common/change';
64+
6365
export { CloudFunction, CloudEvent } from './core';

0 commit comments

Comments
 (0)