You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { UpdateBody } from '@typedorm/core/esm/src/classes/expression/update-body-type';
The submodule import being necessary, because the UpdateBody type is not included in the public or private API exports from TypeDorm, even though it's referenced by the EntityManager public API.
The text was updated successfully, but these errors were encountered:
Hi,
When trying to use the
UpdateBody
type (from https://github.com/typedorm/typedorm/blob/main/packages/core/src/classes/expression/update-body-type.ts#L98-L112) in a TS project with tsconfig settings that includeI get seemingly unresolvable import errors because those
module
andmoduleResolution
types imply theresolvePackagejsonExports
(https://www.typescriptlang.org/tsconfig#resolvePackageJsonExports) which seems not to allow a submodule import like the followingThe submodule import being necessary, because the
UpdateBody
type is not included in the public or private API exports from TypeDorm, even though it's referenced by theEntityManager
public API.The text was updated successfully, but these errors were encountered: