fix(core): update

This commit is contained in:
Philipp Kunz 2023-09-04 16:31:56 +02:00
parent 969cd12725
commit 1c7c1c2432
3 changed files with 11 additions and 4 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-element',
version: '2.0.26',
version: '2.0.27',
description: 'a custom element class extending lit element class'
}

View File

@ -1,4 +1,4 @@
import { noChange } from 'lit';
import { type TemplateResult, noChange } from 'lit';
import { AsyncDirective, directive } from 'lit/async-directive.js';
class ResolveDirective extends AsyncDirective {
@ -45,3 +45,6 @@ class ResolveDirective extends AsyncDirective {
}
export const resolve = directive(ResolveDirective);
export const resolveExec = (funcArg: () => Promise<TemplateResult | unknown>) => {
return resolve(funcArg());
}

View File

@ -5,6 +5,10 @@
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "nodenext",
"esModuleInterop": true
}
"esModuleInterop": true,
"verbatimModuleSyntax": true
},
"exclude": [
"dist_*/**/*.d.ts"
]
}