TypeChain icon indicating copy to clipboard operation
TypeChain copied to clipboard

Use "import * as ___" with a separate "export { ___ }" declaration

Open aalmada opened this issue 3 years ago • 2 comments

Use

import type * as factories from "./factories";
export type { factories };

instead of

export * as factories from "./factories";

A workaround because api-exporter does not support the one-liner export.

Fixes #742

Passed all the unit tests.

aalmada avatar Jul 22 '22 14:07 aalmada

⚠️ No Changeset found

Latest commit: 7c9d64389002d642749e05cfb2630541d9718a04

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jul 22 '22 14:07 changeset-bot[bot]

@krzkaczor Hi! Any chance there will be a new release soon containing this PR?

aalmada avatar Aug 01 '22 11:08 aalmada