Skip to content

Conversation

weswigham
Copy link
Member

And no substitution template literal.

Fixes #18388

@weswigham weswigham merged commit b2ec333 into microsoft:master Sep 22, 2017
@weswigham weswigham deleted the add-factory-for-template-parts branch September 22, 2017 23:54
return node;
}

export function updateTemplateHead(node: TemplateHead, text: string) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Generally we only update Node or NodeArray properties, not strings (e.g. there's no update method for Identifier). I don't think we need these update methods.

Copy link
Member Author

Choose a reason for hiding this comment

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

Alright then, will remove.

@rbuckton
Copy link
Contributor

👍 for the createTemplateX functions, 👎 for the updateTemplateX functions.

@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
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.

4 participants