Skip to content

Instantly share code, notes, and snippets.

@PCreations
Created May 31, 2024 17:00
Show Gist options
  • Save PCreations/6810931eba6f2472eabdb3dd30efb379 to your computer and use it in GitHub Desktop.
Save PCreations/6810931eba6f2472eabdb3dd30efb379 to your computer and use it in GitHub Desktop.
b91fc4f5db9a.diff
-1,3 +1,3 @@
-export interface BookRepository {
- save(book: { title: string }): Promise<void>;
+export abstract class BookRepository {
+ abstract save(book: { title: string }): Promise<void>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment