You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’s fairly minor, but I’d comment that the docs for template literals don’t mention details from the original pull request, such as a placeholder immediately followed by another placeholder matching a single character. The lack of documentation for this feature has made me hesitant to rely on it; Anders mentioned it in the PR, but it’s not clear how “fixed” that is.
For brevity's sake, we try not to put question-answers in the Handbook that can be discovered by simple experiment, but the inference description there is already long enough that we should add the one-character rule
Corollary note: Some documentation is very difficult to find because of the generic nature of certain terms. I'm thinking of "infer" which is almost impossible to find with Google. It might be interesting to have a searchable glossary in the documentation site.
Acknowledgement
Comment
Cleaned up from raw notes from @navya9singh:
Handbook
@overload
and@import
to https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.htmlsatisfies
next toas
ts-ignore
andts-expect-error
to BasicsTSConfig
$configDir
linkextends
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#supporting-multiple-configuration-files-in-extendsModules Reference
The text was updated successfully, but these errors were encountered: