Skip to content

Commit

Permalink
chore: Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
MangelMaxime committed Mar 28, 2024
1 parent 6d19aae commit d911aff
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
U2<string, LatLngTuple>
```

* Prevent infite loop when a class has a reference to a union type which reference the class itself

```ts
export declare class MyClass {
contains(otherBoundsOrLatLng: MyUnion | string): boolean;
}

export type MyUnion = MyClass | string;
```

```fs
[<AllowNullLiteral>]
[<Interface>]
type MyClass =
abstract member contains: otherBoundsOrLatLng: U2<MyUnion, string> -> bool
type MyUnion =
U2<MyClass, string>
```

### Added

* Add support for `MethodSignature` on interface ([GH-28](https://github.com/glutinum-org/cli/issues/28))
Expand Down

0 comments on commit d911aff

Please sign in to comment.