반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- vue3
- caching
- 선택자
- Cypress
- JavaScript
- svelte
- typeScript
- ViTE
- api test
- https
- e2e
- TLS
- import.meta.env
- msw
- csr
- devtools
- QUIC
- CloudFlare
- custom command
- CSS
- 비동기
- web vital
- rendering
- Testing
- ts error
- SSR
- http3
- vue-cli
- aws
- vue
Archives
- Today
- Total
목록ts2345 (1)
Develop Note by J.S.
[Typescript] Cypress Command 등록 시 TS2345 Error
아래와 같은 TS2345 Error 발생 시 1. cypress/global.d.ts 생성 // ./cypress/global.d.ts declare namespace Cypress { interface Chainable { dataCy(dataTestAttribute: string): Chainable } } 2. tsconfig.json // tsconfig.json cypress 경로 추가 "include": ["cypress/**/*.ts" ,"src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
Language/Typescript
2023. 7. 11. 10:24