Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
add breaking changes to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
m4thieulavoie committed Feb 15, 2022
1 parent 3b64c08 commit c622eb9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/useful-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->

### Breaking Change

- `Omit` has been removed. You should be able to remove any `import { Omit } from '@shopify/useful-types';` and it should fallback on `Omit` from Typescript directly
- `ThenType` has been removed. You should use the native `Awaited` type from Typescript instead
- `Arguments` has been removed. You should replace any of its usage in your project with the native `Parameters` from Typescript. On the same note, replace `ArgumentAtIndex` by `Parameters<T>[i]` and `FirstArgument<T>` by `Parameters<T>[0]`.
- `ConstructorArguments` has been removed. You should replace any of its usage in your project with the native `ConstructorParameters` from Typescript. On the same note, replace `ConstructorArgumentAtIndex` by `ConstructorParameters<T>[i]` and `FirstConstructorArgument<T>` by `ConstructorParameters<T>[0]`.
- `MaybeFunctionReturnType` has been removed. Each usage should be replaced by the native `ReturnType` of Typescript

## 3.1.0 - 2022-02-09

### Added
Expand Down

0 comments on commit c622eb9

Please sign in to comment.