📜  rxjs_1.lastvaluefrom 不是函数 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:28.135000             🧑  作者: Mango

代码示例1
# If you're using Nest v8, RxJS version 7 is used, 
# which no longer has a toPromise() method for Observables, 
# so Nest uses the lastValueFrom method instead. 
# you probably need to update your rxjs dependency to >7.

#just use a variant for your package manager

npm i rxjs@^7
yarn add rxjs@^7
pnpm i rxjs @^7