Skip to content

Document Registry - Provide a default script target#26569

Merged
RyanCavanaugh merged 2 commits into
microsoft:masterfrom
dsherret:issue26535_FixNullableDocumentRegistryTarget
Aug 21, 2018
Merged

Document Registry - Provide a default script target#26569
RyanCavanaugh merged 2 commits into
microsoft:masterfrom
dsherret:issue26535_FixNullableDocumentRegistryTarget

Conversation

@dsherret

Copy link
Copy Markdown
Contributor

Fixes #26535.

Comment thread src/services/documentRegistry.ts Outdated
if (!entry) {
// Have never seen this file with these settings. Create a new source file for it.
const sourceFile = createLanguageServiceSourceFile(fileName, scriptSnapshot, scriptTarget!, version, /*setNodeParents*/ false, scriptKind); // TODO: GH#18217
const sourceFile = createLanguageServiceSourceFile(fileName, scriptSnapshot, scriptTarget, version, /*setNodeParents*/ false, scriptKind); // TODO: GH#18217

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should I remove the todo on the end of this line?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes please

@dsherret dsherret changed the title Document Registry - Provide a default script target. Document Registry - Provide a default script target Aug 21, 2018
@dsherret dsherret force-pushed the issue26535_FixNullableDocumentRegistryTarget branch from 9d280f5 to 0baf746 Compare August 21, 2018 17:29
@RyanCavanaugh RyanCavanaugh merged commit 13bd478 into microsoft:master Aug 21, 2018
@RyanCavanaugh

Copy link
Copy Markdown
Member

Thanks!

@dsherret dsherret deleted the issue26535_FixNullableDocumentRegistryTarget branch August 21, 2018 20:30
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
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.

3 participants