drop some types in

This commit is contained in:
Thomas Ruoff
2021-02-14 22:47:44 +01:00
parent 81db4b5d0e
commit 85a7b54a13
13 changed files with 116 additions and 45 deletions

15
interfaces/IDocProps.tsx Normal file
View File

@@ -0,0 +1,15 @@
export interface IDocProps {
template: string
subject: string
body: string
address: string
date?: string
opening?: string
closing?: string
yourRef?: string
yourMail?: string
myRef?: string
customer?: string
invoice?: string
specialMail?: string
}

6
interfaces/ILatest.tsx Normal file
View File

@@ -0,0 +1,6 @@
import { IDocProps } from './IDocProps'
export interface ILatest extends IDocProps {
id: string
created: Date
}