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

Rewrite in TypeScript #81

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

Rewrite in TypeScript #81

wants to merge 7 commits into from

Conversation

rhys-vdw
Copy link
Collaborator

@rhys-vdw rhys-vdw commented Sep 5, 2019

Completely rewrite index.ts in TS.

end
rescue => error
STDERR.puts error
end
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add line break to the end

@@ -0,0 +1 @@
/src
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add line break to the end

ecmaVersion: 2018,
sourceType: 'module',
},
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add line break to the end

else
puts "#{delimiter}#{handler.new(STDIN.read).result}#{delimiter}"
end
rescue => error
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this required in "rewrite to TS"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hey, I can't remember now. I probably just fixed this in testing as an attempt to capture error output.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh yeah, I think this was to fix #63.

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