Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize map types properly #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

wcandillon
Copy link
Collaborator

Enables the conversion of

type Entries extends Entry[] {}

to type Entries = { [id: string]: Entry }; instead of interface Entries extends Map<String, Entry>

Enables the conversion of
```
type Entries extends Entry[] {}
```

to `type Entries = { [id: string]: Entry };` instead of `interface Entries extends Map<String, Entry>`
@fny
Copy link
Owner

fny commented Jun 8, 2017

Can you add a bolt and typescript sample to the samples directory for the expected input and output? My specs right now run through all the sample files, convert them, and make sure the conversion matches the expected output. This'll make sure you're additions don't get borked with a future update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants