HaxeFoundation / HaxeFoundation/haxe

ArrayAccess / Dynamic<Type> for typedef

Open
#6,249 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

I spend some time to integrate haxe <=> typescript and have a problem: haxe don't allow to specify typedef with a array access like:
```haxe
typedef A = {>Dynamic, otherField:Int }
```
Defining `interface` is not a good solution is most cases.

Typescript has many definition files (and we can convert them to haxe externs), so I think, support this feature is important.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.