Skip to content
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

fix(devkit): fix extractLayoutDirectory typescript types to better reflect allowed params and return value #15339

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

kdawgwilk
Copy link
Contributor

In other projects with more strict TS settings the types on the extractLayoutDirectory did not line up with the allowed params and return value. Example of this I found is in the @nrwl/react package that calls this function with options.directory which is string | undefined which I am not sure why TS is not complaining about this 🤔

const { projectDirectory, layoutDirectory } = extractLayoutDirectory(
options.directory
);

@vercel
Copy link

vercel bot commented Mar 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 5:29pm

@kdawgwilk
Copy link
Contributor Author

any tips on looking into the build failures? 47min of build logs to parse through to figure out why its failing doesn't sound super enjoyable 😅

@AgentEnder AgentEnder merged commit 8274f34 into nrwl:master Jan 29, 2024
6 checks passed
Copy link

github-actions bot commented Feb 4, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
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