inflearn logo
Khóa học

Khóa học

Chia sẻ kiến thức

Bài viết của jeongbaebang

jeongbaebang jeongbaebang

@jeongbaebang

Số lượng đánh giá đã viết
3
Xếp hạng trung bình
4.7

Bài viết 3

Hỏi & Đáp

deepFlat에 yield* 대신 for...of 문으로 작성

L.deepFlat = function* f(iter) { for (const a of iter) { if (isIterable(a)) for (const c of f(a)) yield c; else yield a; } };

Lượt thích
0
Số bình luận
2
Lượt xem
363

Hỏi & Đáp

Custom Repository 부분에서 에러가 납니다.

https://docs.nestjs.com/techniques/database#typeorm-integration WARNING Note that we're using TypeORM v0.2, which isn't the latest version of TypeORM. The latter has substantial modifications and duplicate methods which are used on this page. You can read about typeorm@0.3.0 changes on their repository . 공식 문서에 보시면 현재 typeorm v0.2 버전을 유지하는걸로 나와있습니다. 아마도 현재 typeorm 버전이 0.2 이상 버전을 사용하셔서 deprecated 처리가 된것같습니다. $ npm install typeorm@0.2 명령어를 통해서 공식문서에서 권장하는 버전으로 변경 부탁드립니다.

Lượt thích
2
Số bình luận
1
Lượt xem
4120