Closed freevuehub closed 3 months ago
@freevuehub
could you let me know tsconfig
?
To get the correct inferred type from fxts, you need to use the two settings below.
strictFunctionTypes
, strictNullChecks
https://fxts.dev/docs/getting-started#typescript
We recommend strict true
to ensure correct inference.
@freevuehub could you let me know
tsconfig
?To get the correct inferred type from fxts, you need to use the two settings below.
strictFunctionTypes
,strictNullChecks
https://fxts.dev/docs/getting-started#typescript
We recommend strict
true
to ensure correct inference.
Oh... I just checked again, and it turns out I was configuring that part in a different repo. After resetting and running it, it works well!
I will close this issue :)
Bug Report
💻 Code
🙁 Actual behavior
I tried to run a pipe and get a
string
type. However, I encountered an error saying that the type should be specified asPromise<string>
. Although it actually runs as astring
without any problem, there's an error in the code.number
type is same..🙂 Expected behavior
I want the result of the last function executed in the pipe to be specified as the final type.
like this...
Version Information
0.28.0
MacOS
4.6.4
20.7.0