Typescript: Interface 'None' incorrectly extends interface 'Option<never>'
Closed this issue · 1 comments
sqrter commented
I'm trying to use the lib in my angular/typescript project, but unfortunately I can't compile it because of this error. I'm using angular-cli 1.7.3, where I configured it's "scripts" section like this:
"scripts": [
"../node_modules/space-lift/es/all.js",
"../node_modules/lodash/core.min.js"
],
And here is my tsconfig
:
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
]
}
}
The error itself is here:
Any ideas, what I'm doing wrong?
sqrter commented
Ok, I've found already closed issue.. For now just used "skipLibCheck": true flag in my tsconfig :) Sorry for duplicated ticket.