From 7070748808dfde67530877fa721b92c5e3c2737c Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Sat, 28 Sep 2024 17:02:49 +0200 Subject: [PATCH] [TS] Remove non used `Async` class --- src/fable-library-ts/Async.ts | 5 ----- src/fable-library-ts/CHANGELOG.md | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/fable-library-ts/Async.ts b/src/fable-library-ts/Async.ts index 4c2577db46..93caee224d 100644 --- a/src/fable-library-ts/Async.ts +++ b/src/fable-library-ts/Async.ts @@ -9,9 +9,6 @@ import { protectedReturn } from "./AsyncBuilder.js"; import { FSharpChoice$2_$union, Choice_makeChoice1Of2, Choice_makeChoice2Of2 } from "./Choice.js"; import { TimeoutException } from "./SystemException.js"; -// Implemented just for type references -export class Async<_T> { } - function emptyContinuation(_x: T) { // NOP } @@ -203,5 +200,3 @@ export function startAsPromise(computation: IAsync, cancellationToken?: Ca startWithContinuations(computation, resolve, reject, reject, cancellationToken ? cancellationToken : defaultCancellationToken)); } - -export default Async; diff --git a/src/fable-library-ts/CHANGELOG.md b/src/fable-library-ts/CHANGELOG.md index c236a76481..5850ef377b 100644 --- a/src/fable-library-ts/CHANGELOG.md +++ b/src/fable-library-ts/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Removed + +* Remove `Async` class (by @MangelMaxime) + ## 1.5.0 - 2024-09-19 ### Added