From 98aff7e3510445e9658caa78366ad235463aeebb Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Sat, 30 Mar 2024 16:25:45 +0100 Subject: [PATCH] chore: add test for typeAlias with a direct typeRefrerence [converter] --- tests/specs/references/typeAlias/typeReference.d.ts | 1 + tests/specs/references/typeAlias/typeReference.fsx | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 tests/specs/references/typeAlias/typeReference.d.ts create mode 100644 tests/specs/references/typeAlias/typeReference.fsx diff --git a/tests/specs/references/typeAlias/typeReference.d.ts b/tests/specs/references/typeAlias/typeReference.d.ts new file mode 100644 index 0000000..e64ad5f --- /dev/null +++ b/tests/specs/references/typeAlias/typeReference.d.ts @@ -0,0 +1 @@ +type StringArray = Array diff --git a/tests/specs/references/typeAlias/typeReference.fsx b/tests/specs/references/typeAlias/typeReference.fsx new file mode 100644 index 0000000..dd67baa --- /dev/null +++ b/tests/specs/references/typeAlias/typeReference.fsx @@ -0,0 +1,12 @@ +module rec Glutinum + +open Fable.Core +open Fable.Core.JsInterop +open System + +type StringArray = + ResizeArray + +(***) +#r "nuget: Fable.Core" +(***)