-
Notifications
You must be signed in to change notification settings - Fork 1
TypeScript 1차 마이그레이션 #168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
TypeScript 1차 마이그레이션 #168
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
빌드 에러 수정 & 타입스크립트 규칙 세팅
- src/helper/utilities.js → src/helper/utilities.ts로 변환 - 브랜드 타입, 인터페이스, 함수 타입 정의 추가 - 타입 안전성 강화 및 유지보수성 향상 참고: 레퍼런스 폴더 및 튜토리얼 문서는 커밋에서 제외함
- uniques, sum, extremes, quantile, runningStat, sumOverSum 등 주요 집계 함수에서 null/undefined 안전성 강화 - 옵셔널 체이닝(record?.[attr]) 및 raw != null 패턴 적용 - 기존 동작(값이 없으면 집계에서 무시)은 100% 유지, 타입스크립트 strict 옵션에서 타입 안전성만 강화 관련 이슈: #132
- utilities.ts의 타입 정의 파일(.d.ts) 자동 생성 빌드 스크립트 추가 - utilities.d.ts에 상세 타입 및 인터페이스 정의 추가 - 사용하지 않는 콜백 파라미터명을 _로 변경하여 가독성 개선
- usePropsState.js를 usePropsState.ts로 타입스크립트 변환 - props, state, 반환 객체, 각 함수의 파라미터에 타입 명확히 지정 - 타입스크립트 strict 옵션 대응
- useProvidePivotData.js를 useProvidePivotData.ts로 타입스크립트 변환 - props, 반환 객체, 내부 함수에 타입 명시 - 타입 분리(import type), any[] 인덱스 string 변환 등 타입스크립트 strict 대응
- useMaterializeInput.js를 useMaterializeInput.ts로 타입스크립트 변환 - dataSource, options, 반환 객체, 내부 함수에 타입 명확히 지정 - 타입스크립트 strict 옵션 대응
chore(lint): add typescript-lint #142
…ation feat(helper): utilities TypeScript 마이그레이션
…ut-ts feat(composables): useMaterializeInput TypeScript 마이그레이션
feat(composables): usePropsState TypeScript 마이그레이션
…ta-ts feat(composables): useProvidePivotData TypeScript 마이그레이션
chore(lint): add lint option no-explicit-any
Ts composables
defaultProps, redColorScaleGenerator 타입스크립트 전환
ts 린트 에러 수정, index.js, main.js ts 파일로 변환
chore: modify lint and format rule
피벗테이블 UI .vue 컴포넌트 타입스크립트 적용
- 여러 파일 수정 및 일부 파일 추가/삭제 - 상세 내역은 git diff로 확인 가능
- Convert pivottable Vue components to use TypeScript - Add type definitions for props and component interfaces - Update composables with proper type annotations - Remove obsolete utilities.d.ts file - Refactor defaultProps structure for better type safety 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
feat: add TypeScript support to pivottable components
refactor: migrate VAggregatorCell to TypeScript
Seungwoo321
approved these changes
Jun 18, 2025
Member
Seungwoo321
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good!
|
🎉 이 PR은 1.1.0에 포함되었습니다. |
|
🎉 이 PR은 1.1.0에 포함되었습니다. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
타입스크립트 에러 수정