feat(core): improve in-memory validation, FatturaPA detection coverage, and published type compatibility
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { EInvoice } from '../../dist_ts/index.js';
|
||||
import * as plugins from '../../dist_ts/plugins.js';
|
||||
|
||||
const invoice = new EInvoice();
|
||||
invoice.pdf = undefined;
|
||||
invoice.pdfAttachments = undefined;
|
||||
|
||||
const parser = new plugins.DOMParser();
|
||||
const parserFromNamespace = new plugins.xmldom.DOMParser();
|
||||
|
||||
void invoice;
|
||||
void parser;
|
||||
void parserFromNamespace;
|
||||
void plugins.pako.inflate;
|
||||
void plugins.SaxonJS.compile;
|
||||
void plugins.SaxonJS.transform;
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"strict": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"skipLibCheck": false,
|
||||
"noEmit": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": [
|
||||
"./index.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user