Skip to content

Conversation

@gingerbeerlime
Copy link
Member

타입스크립트 에러 수정

  • rowOrder, colOrder 디폴트값 정의
  • colorScaleGenerator 타입 정의
  • languagePack 타입 수정
  • vals : 선택값으로 변경

gingerbeerlime and others added 30 commits May 27, 2025 17:09
빌드 에러 수정 & 타입스크립트 규칙 세팅
- src/helper/utilities.js → src/helper/utilities.ts로 변환
- 브랜드 타입, 인터페이스, 함수 타입 정의 추가
- 타입 안전성 강화 및 유지보수성 향상

참고: 레퍼런스 폴더 및 튜토리얼 문서는 커밋에서 제외함
- aggregators, frAggregators를 템플릿 함수만 저장하도록 수정
- PivotData 등에서 속성 배열을 넘겨 실제 집계 함수 생성하도록 변경
- 타입 불일치 린터 에러 해결
- 작업 중 발견된 추가 이슈는 #130 이슈 코멘트에 상세히 기록

Closes #130
- 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
gingerbeerlime and others added 24 commits June 4, 2025 14:49
defaultProps, redColorScaleGenerator 타입스크립트 전환
ts 린트 에러 수정, index.js, main.js ts 파일로 변환
피벗테이블 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
Copy link
Member

@Seungwoo321 Seungwoo321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good!

@gingerbeerlime gingerbeerlime merged commit 02dfc9c into main Jun 18, 2025
@vue-pivottable-release-bot
Copy link

🎉 이 PR은 1.1.0에 포함되었습니다.

@vue-pivottable-release-bot
Copy link

🎉 이 PR은 1.1.0에 포함되었습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants