Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Migrate to typescript #10

Merged
merged 3 commits into from
Apr 17, 2019
Merged

Migrate to typescript #10

merged 3 commits into from
Apr 17, 2019

Conversation

s1na
Copy link
Collaborator

@s1na s1na commented Apr 16, 2019

This is a subset of #8. I tried to migrate the existing code to typescript without much modifications. The biggest difference is how Factory works. Typescript doesn't allow exporting something that returns a private class. So I pulled FixWidth out of factory and added some methods for instantiation.

cc @holgerd77

Copy link
Member

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some return types are missing (but maybe just add later?), like this explicit Endianess type, otherwise not much to say, think this looks good. Thanks, a lot easier to compare now.

@s1na s1na merged commit 54569db into master Apr 17, 2019
@s1na s1na deleted the ts branch April 17, 2019 18:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants