Skip to content

Support baseUrl and paths compiler options #342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 23, 2016

Conversation

lennartjansson
Copy link
Contributor

Fixes issue #340.

The paths option, which is expected to be a JSON object mapping strings to arrays of strings, comes with an internal TS option declaration with property map: 'object', so we special-case the option-setting logic when we find that property on the declaration. This sticks the whole paths object unchanged into options.compilerOptions, which is forwarded on to ts.createProgram in the converter.

@lennartjansson
Copy link
Contributor Author

lennartjansson commented Nov 22, 2016

Looks like all the recently opened PRs are failing with the same compile error in CI. Is there something I need to fix here before this is ready to merge?

Everything seems to compile fine for me locally (running grunt).

@kamranayub
Copy link
Contributor

kamranayub commented Dec 20, 2016

@blakeembrey This one can be merged safely looks like, though looks like maybe it needs a release bump too

@blakeembrey blakeembrey merged commit 26b162d into TypeStrong:master Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants