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

Fixed outdated expectation comments #49691

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

Andarist
Copy link
Contributor

No description provided.

@@ -2,10 +2,10 @@
// @declaration: true

function ft1<T extends string>(s: string, n: number, u: 'foo' | 'bar' | 'baz', t: T) {
const c1 = `abc${s}`; // `abc${string}`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

those tests and comments were introduced in https://github.com/microsoft/TypeScript/pull/41891/files#diff-23c99a459cde66a01fe87782c5d76a17b3c75706ad05adc1567eff86995b89e2 but then the change was reverted without removing tests (or adjusting those original comments) here: #42588

@sandersn sandersn merged commit fefe220 into microsoft:main Jul 7, 2022
@Andarist Andarist deleted the tests/tweak-outdated-comments branch August 8, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants