Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

types.ts is empty? #9672

Open
badboy-tian opened this issue Mar 24, 2025 · 4 comments
Open

types.ts is empty? #9672

badboy-tian opened this issue Mar 24, 2025 · 4 comments
Labels
type:question Support or code-level question

Comments

@badboy-tian
Copy link

New Issue Checklist

Issue Description

https://github.com/parse-community/parse-server/blob/alpha/types/index.d.ts is empty

Steps to reproduce

Actual Outcome

can not compile normal use ts
Image

Expected Outcome

no error

Environment

Server

  • Parse Server version: 8.0.2
  • Operating system: window 11
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Local

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: 7.0
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): Local

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): only nodejs
  • SDK version: 8.0.2

Logs

Copy link

🚀 Thanks for opening this issue!

ℹ️ You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added the type:question Support or code-level question label Mar 24, 2025
@yog27ray
Copy link
Contributor

@mtrezza, it looks like only a logger file has been added with support for typescript. #9550 .The remaining project files are skipped. Do we have any plan of defining all the types, if not can we rename the types folder? As it gives errors in typescript-enabled projects.

@mtrezza
Copy link
Member

mtrezza commented Mar 24, 2025

We are gradually converting to TS, but that will likely take months. What do you suggest for that time of transition?

@yog27ray
Copy link
Contributor

@mtrezza

If there is no types/index.d.ts, this will work in typescript.

Currently, this is an empty file. So this file can be deleted or renamed before the release.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type:question Support or code-level question
Projects
None yet
Development

No branches or pull requests

3 participants