-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: if a tuple is empty generate
obj
(we don't have an equivalent …
…to empty tuple in F#) [converter] === changelog === ```ts type MyType = [] ``` ```fs type MyType = obj ``` === changelog === Fix #158
- Loading branch information
1 parent
cc488b2
commit ea1c0ce
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
type MyType = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module rec Glutinum | ||
|
||
open Fable.Core | ||
open Fable.Core.JsInterop | ||
open System | ||
|
||
type MyType = | ||
obj | ||
|
||
(***) | ||
#r "nuget: Fable.Core" | ||
#r "nuget: Glutinum.Types" | ||
(***) |