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

chore: ts support #755

Merged
merged 5 commits into from
Sep 9, 2024
Merged

chore: ts support #755

merged 5 commits into from
Sep 9, 2024

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Aug 16, 2024

☑️ Resolves

Adds improved TypeScript support:

  • Adds vue-tsc to typecheck Vue components
  • Adds typecheck npm script and typecheck (elint-typescript`) CI action
  • Fixes tsconfig.json and global.d.ts types
    • Unfortunately, @nextcloud/vue in v8 doesn't support Vue, so, it must be mocked with fake empty component
  • Fixes TS and ESLint issues

No JS check atm. Migrating codebase to TS comes in follow-ups separated PRs.

@ShGKme ShGKme force-pushed the chore/ts-support branch 3 times, most recently from 6e7cba6 to 0ac4b9d Compare September 6, 2024 20:48
Signed-off-by: Grigorii K. Shartsev <[email protected]>
Signed-off-by: Grigorii K. Shartsev <[email protected]>
Signed-off-by: Grigorii K. Shartsev <[email protected]>
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

LGTM, tested

Copy link
Contributor

Choose a reason for hiding this comment

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

@ShGKme ShGKme merged commit e6a6a11 into main Sep 9, 2024
11 checks passed
@ShGKme ShGKme deleted the chore/ts-support branch September 9, 2024 21:50
@ShGKme ShGKme mentioned this pull request Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants