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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

If file exists but method is not exported #293

Open
ThomasAribart opened this issue Feb 19, 2022 · 1 comment
Open

If file exists but method is not exported #293

ThomasAribart opened this issue Feb 19, 2022 · 1 comment

Comments

@ThomasAribart
Copy link

馃悶 Bug Report

Describe the bug

The Any.If method is described in the documentation: https://millsp.github.io/ts-toolbelt/modules/any_if.html

However, when I try to use it I get a not exported error. When I look in the node_modules, I see that the file exists, but the method is simply not exported.

Reproduce the bug

import { A } from "ts-toolbelt";

export type Test = A.If<1, true, false> // <= Errors

Expected behavior

No Error, type Test is equal to true.

Possible Solution

Export the If method ^^

Screenshots

Additional context

Version: 9.6.0

@ThomasAribart
Copy link
Author

Hello ? It's been 7 months already

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

No branches or pull requests

1 participant