- #2389
03c1abc8c
Thanks @BPScott! - Add types field to package.json export maps to support typescript consumers that usemoduleResolution: "node16"
- #2340
b42a99a7d
Thanks @melnikov-s! - Added DeepReadonly type
- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [#2277]
- Bugs in
DeepPartial
,IfEmptyObject
, andDeepOmit
fixed with tests. [#2195]
- Correct wildcard export to
./*
[#2209]
- No updates. Transitive dependency bump.
Omit
has been removed. Remove anyimport { Omit } from '@shopify/useful-types';
and use the built-inOmit
typeThenType
has been removed. You should use the built-inAwaited
type insteadArguments
,ArgumentsAtIndex
andFirstArgument
have been removed. Replace usage ofArguments
with the built-inParameters
type. Replace usage ofArgumentAtIndex
withParameters<T>[i]
andFirstArgument<T>
withParameters<T>[0]
.ConstructorArguments
,ConstructorArgumentAtIndex
andFirstConstructorArgument
have been removed. Replace usage ofConstructorArguments
with the built-inConstructorParameters
type. Replace usage ofConstructorArgumentAtIndex
withConstructorParameters<T>[i]
andFirstConstructorArgument<T>
withConstructorParameters<T>[0]
MaybeFunctionReturnType
has been removed. Replace usage ofMaybeFunctionReturnType
with the built-inReturnType
type
- Use
./*
instead of./
in package.json exports to fix deprecation warning. [#2184]
- Added
PartialSome
andRequireSome
types to set specified fields of a property to optional or required
- Rerelease after failed publish. No code changes.
- Migrate from
sewing-kit-next
toloom
for building - package build output remains identical. [#2039]
- Updated build tooling, types are now compiled with TypeScript 4.3. [#1997]
- Added file exclusion for tests to package.json and enable type checking for tests. [#2005]
- Ensure
tsconfig.tsbuildinfo
file is not uploaded to the npm registry. [#1982]
- Update to latest sewing-kit-next for build. Update
types
/typesVersions
fields to point directly into the build folder [#1980]
- Update minimum supported node version to 12.14.0. Add engines field to help enforce usage of this version. #1906
- Add
DeepOmit
andDeepOmitArray
type to recursively omit field from nested type definition #1807
- Removed dependency on tslib, as we no-longer compile with
tsc
. #1829
- Updated multi-build outputs to include mandatory extensions to fix "Module not found" issues reported by ESM supported bundlers #1759
- Add new build outputs (CommonJS, ESM, esnext, Node) for greater tree-shakability #1698
- Updated
tslib
dependency to^1.14.1
. #1657
- Added the
ConstructorArguments
,ConstructorArgumentAtIndex
, andFirstConstructorArgument
type aliases
- Specify package has no
sideEffects
(#1233)
- Added the
NoInfer<T>
type alias.
- Removed
Props<T>
, seeComponentProps
,ComponentPropsWithRef
, andComponentPropsWithoutRef
fromreact
for a replacement strategy (#846)
- Added the
ArgumentAtIndex
type (#691)
Initial release