Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Use 7.0.1 funfix version in Angular based on Webpack #155

Closed
tosun-si opened this issue May 29, 2019 · 2 comments
Closed

Use 7.0.1 funfix version in Angular based on Webpack #155

tosun-si opened this issue May 29, 2019 · 2 comments

Comments

@tosun-si
Copy link

tosun-si commented May 29, 2019

Hi, i want to use funfix in a the Angular framework based on Webpack.

After the install of the dependency npm install --save funfix, the dependency is well added in the nodes_modules and package.json.

Then i use, for example, the pattern Option with the following import :

import {Option} from "funfix";

But i have the following error :

ERROR in node_modules/funfix-core/dist/disjunctions.d.ts(775,14): error TS2416: Property 'value' in type 'TNone' is not assignable to the same property in base type 'Option<never>'.
  Type 'undefined' is not assignable to type 'never'.
@OliverJAsh
Copy link
Contributor

See #122 (comment)

@lvitaly
Copy link

lvitaly commented Feb 14, 2020

@OliverJAsh basically, strictNullChecks can affect other dependencies 🤔

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants