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

I found there is some problem while using Brand and DeepNonNullable #147

Open
SunnyTam opened this issue Aug 6, 2020 · 0 comments
Open

Comments

@SunnyTam
Copy link

SunnyTam commented Aug 6, 2020

Description

I found Brand type is not shows properly once it is inside DeepNonNullable

You can find some demo below:
https://codesandbox.io/s/recursing-wilbur-9mih7?fontsize=14&hidenavigation=1&theme=dark

Steps to Reproduce

Expected behavior

it should shows Brand<number, 'usd'> instead of never;

Project Dependencies

  • Utility-Types Version: 3.10.0
  • TypeScript Version: 3.9.5
  • tsconfig.json:
{
  "compilerOptions": {
    "target": "es2017",
    "module": "commonjs",
    "lib": [
      "dom",
      "dom.iterable",
      "es2017",
      "esnext.asynciterable",
    ],
    "composite": true,
    "strict": true,
    "esModuleInterop": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
  }
}

Environment (optional)

  • Node Version: 12.16.3
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