Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allow template string with no substitutions to be used as a string literal type#18452

Merged
1 commit merged into
mastermicrosoft/TypeScript:masterfrom
noSubstitutionTemplateStringLiteralTypesmicrosoft/TypeScript:noSubstitutionTemplateStringLiteralTypesCopy head branch name to clipboard
Sep 14, 2017
Merged

Allow template string with no substitutions to be used as a string literal type#18452
1 commit merged into
mastermicrosoft/TypeScript:masterfrom
noSubstitutionTemplateStringLiteralTypesmicrosoft/TypeScript:noSubstitutionTemplateStringLiteralTypesCopy head branch name to clipboard

Conversation

@ghost

@ghost ghost commented Sep 13, 2017

Copy link
Copy Markdown

Fixes #16592

Allows to write:

let x: `foo`;

Sequel of sorts to #17704

@ghost ghost force-pushed the noSubstitutionTemplateStringLiteralTypes branch from a85c2da to a51c952 Compare September 13, 2017 21:31
@ghost ghost merged commit e91af7d into master Sep 14, 2017
@ghost ghost deleted the noSubstitutionTemplateStringLiteralTypes branch September 14, 2017 18:20
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
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 this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.