Skip to content
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

TypeScript Rollout Tier 13 - docs ApiView #386

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

kikuomax
Copy link
Collaborator

Related issues:

Proposed Changes

  • Migration of packages/docs/src/components/ApiView.vue

Rewrites `src/components/ApiView.vue` in TypeScript:
- Introduces a new interface `ComponentInfo` which represents the schema
  of the API data of each component; e.g.,
  `src/components/pages/autocomplete/api/autocomplete.ts`. The interface
  consists of the following interfaces:
  - `PropInfo`
  - `SlotInfo`
  - `EventInfo`
  - `MethodInfo`

A tip for TypeScript migration:
- Explicitly import and register Buefy components so that they are
  type-checked. Note that no type-checking is performed for globally
  registered components.
@kikuomax kikuomax requested a review from wesdevpro January 15, 2025 00:43
@kikuomax kikuomax merged commit 0332583 into ntohq:dev Jan 15, 2025
18 checks passed
@kikuomax kikuomax deleted the ts-rollout-tier-13-docs-api-view branch January 15, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants