fix: use type import to avoid ts dependency in js files #1
| @@ -1,7 +1,6 @@ | ||||
| import * as plugins from './plugins.js'; | ||||
| import * as paths from './paths.js'; | ||||
| import * as helpers from './helpers.js'; | ||||
| import * as interfaces from '../ts/interfaces/index.js'; | ||||
| import type { IDocumentSettings} from '../ts/interfaces/index.js'; | ||||
|  | ||||
| export interface IPdfServiceConstructorOptions { | ||||
|  | ||||
| @@ -47,7 +46,7 @@ export class PdfService { | ||||
|    */ | ||||
|   public async createPdfFromLetterObject(optionsArg: { | ||||
|     letterData: plugins.tsclass.business.ILetter, | ||||
|     documentSettings: interfaces.IDocumentSettings | ||||
|     documentSettings: IDocumentSettings | ||||
|   }) { | ||||
|     const html = ` | ||||
|       <script type="module"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user