Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Regression after PR#60 with re-exports #124

@roni-frantchi

Description

@roni-frantchi

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> {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions