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

Error after upgrading typescript to 5.0.4 from 4.9.5 #141

Open
akbast opened this issue May 26, 2023 · 0 comments
Open

Error after upgrading typescript to 5.0.4 from 4.9.5 #141

akbast opened this issue May 26, 2023 · 0 comments

Comments

@akbast
Copy link

akbast commented May 26, 2023

I am getting following error, when I run tsc in my project after updating typescript. I am getting the error local in my vs-code but also when building the project within actions.

Expression produces a union type that is too complex to represent.

My function code in app.ts:

import { Probot } from "probot";


const probotApp = (app: Probot) => {

  app.on("push", async (context) => {

  })
};

export default probotApp;

I could fix the issue by downgrading typescript.

Any idea how to fix?

Thanks

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

No branches or pull requests

1 participant