Skip to content

Conversation

@Andarist
Copy link
Contributor

No description provided.

// @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
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants