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.

Types for Subscription, Plan and Invoice missing

See original GitHub issue

I had a very hacky solution in place to make the types of the node lib available in the front end. I was pleased to see that there now is this lib that provides the types. I am missing types for Subscription, Plan and Invoice.

Is it planned to add them?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
silberjancommented, Jun 2, 2020

No need to share the hack. TS 3.8 type-only imports solve this problem.

Install stripe and @types/stripe and then be sure to only use the type-only imports.

import type { Stripe } from 'stripe'

This way the node types can be consumed in a front-end project 😄

0reactions
christopher-stripecommented, Jun 2, 2020

Nice! Glad to hear it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Standard Support Invoice - Microsoft Q&A
I'm able to see two subscriptions, one of which is a pay-as-you-go subscription. The other is a Standard support subscription.
Read more >
6 Common Invoicing Problems and How to Solve Them
Missing Invoices​​ If invoices aren't getting to their intended recipients, they're not going to get paid. And if you're using net 30 payment ......
Read more >
How subscriptions work | Stripe Documentation
Subscriptions that include free trials, usage-based billing, invoices with coupons, or applied customer credit balances often result in non-payment invoices.
Read more >
What is Consolidated Billing? - Zoho Subscriptions
Consolidated billing is a billing method where a single invoice is generated for multiple purchases or subscriptions of a customer.
Read more >
Fix problems with subscriptions - Android - Google Play Help
Find missing subscriptions · The email you used with the subscription app may be different than your Google Account. · Check your other...
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