Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Typo in Inference example comment #20

Open
yom-ko opened this issue Sep 10, 2019 · 0 comments · May be fixed by #32
Open

Typo in Inference example comment #20

yom-ko opened this issue Sep 10, 2019 · 0 comments · May be fixed by #32

Comments

@yom-ko
Copy link

yom-ko commented Sep 10, 2019

Here: https://microsoft.github.io/TypeScript-New-Handbook/everything/#inference
the comment reads:

// Parameter 'n' is of type 'number'
// 'parsed' is of type 'string[]'

should be the other way around:

// Parameter 'n' is of type 'string'
// 'parsed' is of type 'number[]'

dennybiasiolli added a commit to dennybiasiolli/TypeScript-New-Handbook that referenced this issue Oct 1, 2019
@dennybiasiolli dennybiasiolli linked a pull request Oct 1, 2019 that will close this issue
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 a pull request may close this issue.

1 participant