Ghost/ghost/donations/src/DonationRepository.ts
Daniel Lockyer 6dc1d08590 Re-enabled general eslint rules in TS config
refs https://github.com/TryGhost/DevOps/issues/50

- when creating a TS config in our `eslint-plugin-ghost` dependency, I
  only extended the recommended config, which left out a lot of
  stylistic things we used to enforce in JS
- this fixes that by bumping the dependency to a version which extends
  those shared configs, and fixes all the code that currently goes
  against those rules
2023-09-08 13:47:42 +02:00

6 lines
153 B
TypeScript

import {DonationPaymentEvent} from './DonationPaymentEvent';
export type DonationRepository = {
save(event: DonationPaymentEvent): Promise<void>;
}