fix(core): update
This commit is contained in:
parent
969cd12725
commit
1c7c1c2432
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-element',
|
name: '@design.estate/dees-element',
|
||||||
version: '2.0.26',
|
version: '2.0.27',
|
||||||
description: 'a custom element class extending lit element class'
|
description: 'a custom element class extending lit element class'
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { noChange } from 'lit';
|
import { type TemplateResult, noChange } from 'lit';
|
||||||
import { AsyncDirective, directive } from 'lit/async-directive.js';
|
import { AsyncDirective, directive } from 'lit/async-directive.js';
|
||||||
|
|
||||||
class ResolveDirective extends AsyncDirective {
|
class ResolveDirective extends AsyncDirective {
|
||||||
@ -45,3 +45,6 @@ class ResolveDirective extends AsyncDirective {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const resolve = directive(ResolveDirective);
|
export const resolve = directive(ResolveDirective);
|
||||||
|
export const resolveExec = (funcArg: () => Promise<TemplateResult | unknown>) => {
|
||||||
|
return resolve(funcArg());
|
||||||
|
}
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"module": "ES2022",
|
"module": "ES2022",
|
||||||
"moduleResolution": "nodenext",
|
"moduleResolution": "nodenext",
|
||||||
"esModuleInterop": true
|
"esModuleInterop": true,
|
||||||
}
|
"verbatimModuleSyntax": true
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"dist_*/**/*.d.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user