DoHyeong Lee
DoHyeong Lee
As @ppeeou said, turning on the `strict: true` option should be fine. https://codesandbox.io/s/mystifying-northcutt-27xf3s?file=/src/index.ts
You can just use `reduce` function to merge some SQL statements: ```javascript await QUERY/* sql */` SELECT * FROM table_1 ${dynamicStatements.reduce((acc, sql) => SQL`${acc} ${sql}`)} ` ``` and there is...
This issue is about how sound TypeScript's type system is. This level of soundness is common in TypeScript, much like a case where you access an element in an array:...
> Sorry, but I'm not following. What's the benefit of emitting knowingly incorrect type **in this particular case**? > > Basically, the user is forced to do this every time:...
I understand your statement thoroughly, and I agree with your point. However, it ultimately boils down to a trade-off. The `groupBy` function below encounters a similar issue, and it's a...
Could you write a minimal amount of code that can reproduce that error? It would be great if you could write it similar to this repository: https://github.com/shine1594/fxts-test
> I got here from a Serverless project using `serverless-plugin-esbuild`. I think the documentation at https://www.prisma.io/docs/concepts/components/prisma-client/module-bundlers could use some expansion. I'm using esbuild here and I found some of the...
```json "extends": ["airbnb-base", "prettier"], ``` 위 부분을 .eslintrc.json 파일에 추가하니까 prettier랑 잘 연동되는거 같아요 :) 그리고 사소한거지만 `eslint-config-airbnb-base`가 dependencies에 설치 돼있어서 devDependencies로 옮기면 좋을 것 같아요. eslint랑 prettier도 코드 작성단계부터...
제가 docker를 사용해본 경험이 없어서 도움을 드리기가 힘들 것 같네요 ㅠㅠ 앞으로 리뷰하면서 같이 공부하고 조금이라도 도움이 될 수 있도록 노력해 보겠습니다. 이미 보셨을 것 같지만 혹시 아래 문서가 도움이...