question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feedback on TypeScript support

See original GitHub issue

https://github.com/probot/probot/pull/372 has been a huge effort by @tcbyrd, @ocombe, and several others to rewrite Probot in TypeScript. If you’d like to help us test out TypeScript support, please install the pre-release and report any issues you run in to:

$ npm install probot@next

TODO:

  • Remove no-var-requires from tslint.json
  • Remove OctokitWithPagination in favor of declaration merging with existing Octokit interface
  • Rewrite tests in TypeScript (#582)
  • Types for webhook payloads
  • Turn on noImplictAny
  • Add the ability to generate a new app with TypeScript, such as create-probot-app --typescript my-app-name

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:21 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
betopompolocommented, Sep 24, 2018

@ocombe I had to change some imports after adding esModuleInterop: true but it works, thank you! Maybe this compilerOption should be added in probot by default?

1reaction
ocombecommented, Sep 24, 2018

@pierrebeaucamp @betopompolo I had the same error last week, the solution is to add this property in the compilerOptions of your tsconfig.json file: "esModuleInterop": true (works with TS 2.7+)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reviews | Why developers use TypeScript. - StackShare
I have read that adopting TypeScript can help enforce better code quality, and best practices. I also heard good things about Flow (JS)....
Read more >
TypeScript Reviews 2022: Details, Pricing, & Features - G2
Typescript is by far my favourite programming language. It supports all the Javascript libraries, and the typescript community is also very reliable. The...
Read more >
Google feedback on TypeScript 3.5 · Issue #33272 - GitHub
It is our hope that this report about TS 3.5 as applied to a large codebase will help the TypeScript team better evaluate...
Read more >
Documentation - TypeScript 3.9
TypeScript 3.9 · Improvements in Inference and Promise.all · Speed Improvements · // @ts-expect-error Comments · Uncalled Function Checks in Conditional Expressions.
Read more >
Google Feedback with TypeScript - CodeProject
This script allows you to create feedback forms which include a screenshot and clients browser Information. Feedback tool similar to the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found