Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Jun 23, 2017

Fixes #16715

@ghost ghost force-pushed the createMap branch from 5b91b86 to a8e4eb3 Compare June 23, 2017 23:16
@@ -145,7 +145,7 @@ namespace ts {
};
}

export function createFileMap<T>(keyMapper?: (key: string) => string): FileMap<T> {
export function createFileMap<T>(keyMapper: (key: string) => string): FileMap<T> {
Copy link
Member

Choose a reason for hiding this comment

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

also remove the check in toKeykeyMapper ? keyMapper(path) : path.

@ghost ghost force-pushed the createMap branch from 8adcdc4 to 9e82679 Compare June 28, 2017 20:01
@ghost ghost merged commit 9013665 into master Jun 28, 2017
@ghost ghost deleted the createMap branch June 28, 2017 20:15
@ghost ghost mentioned this pull request Jun 28, 2017
@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