Nxでapps(Express)からlibs(TypeScript)をimportした時に
TS2307: Cannot find module ‘@org/library’ or its corresponding type declarations.
が発生。
main.ts
import { isUser } from '@org/library';
エディターを再起動するとエラーが消えた。
終わり。
More than 1 year has passed since last update.
Nxでapps(Express)からlibs(TypeScript)をimportした時に
TS2307: Cannot find module ‘@org/library’ or its corresponding type declarations.
が発生。
import { isUser } from '@org/library';
エディターを再起動するとエラーが消えた。
終わり。
Register as a new user and use Qiita more conveniently