Skip to content

map TS optional arguments to closure optional arguments #44

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

Merged
merged 1 commit into from
Feb 3, 2016
Merged

map TS optional arguments to closure optional arguments #44

merged 1 commit into from
Feb 3, 2016

Conversation

evmar
Copy link
Contributor

@evmar evmar commented Feb 3, 2016

E.g. (x?: number) becomes /** number= */ x.

Fixes #43.

@@ -0,0 +1,2 @@
function OptionalArgument(/** number */ x, /** string= */ y) {
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure if we care, but these should be lowerCamelCase in Closure style.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess it's up to the original author to do this though, right, so it's not sickle's problem? Or do you just mean our test cases ought to match Closure style?

Copy link
Contributor

Choose a reason for hiding this comment

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

I just meant the test case, this is a 100% pure small batch hand made nitpick :-)

@mprobst
Copy link
Contributor

mprobst commented Feb 3, 2016

LGTM

@mprobst mprobst added the LGTM label Feb 3, 2016
E.g. (x?: number) becomes /** number= */ x.

Fixes #43.
@evmar evmar merged commit b5d8255 into angular:master Feb 3, 2016
@evmar evmar deleted the optional branch February 3, 2016 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants