mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
fix some type errors
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
function convertLineBreaks(string) {
|
||||
return string.replace(/\n/g, '\\\\')
|
||||
function convertLineBreaks(lines: string) {
|
||||
return lines.replace(/\n/g, '\\\\')
|
||||
}
|
||||
|
||||
export function brief(options) {
|
||||
export function brief(options: Record<string, string>) {
|
||||
const {
|
||||
template = 'brief-fam',
|
||||
subject = '',
|
||||
|
||||
Reference in New Issue
Block a user