Regression after PR#60 with re-exports
roni-frantchi opened this issue · 0 comments
roni-frantchi commented
When upgrading from 0.78.19 I encountered a regression.
I have isolated the root cause of this regression to be #60, by checking out the latest released source code, and reverting only the change made in that PR - which then fixed the issue.
I have the following re-exporting from "@shiftcoders/dynamo-easy": "8.0.0-next.3":
// common/dynamodb/index.ts
export * from '@shiftcoders/dynamo-easy';
Trying to import anything from that package:
import { DynamoStore } from '@env0/common-dynamo';
export class DynamoStoreRepository<T extends BaseDynamoModel> extends DynamoStore<T> {
// ...
}
results in said token being undefined:
TypeError: Class extends value undefined is not a constructor or null
9 | import type { BaseDynamoModel } from './base-dynamo-model';
10 |
> 11 | export class DynamoStoreRepository<T extends BaseDynamoModel> extends DynamoStore<T> {