perf: cache twc function #12
Annotations
3 errors
check:
src/index.ts#L4
Argument of type '(el: keyof HTMLElementTagNameMap, options: { compose: (...args: any[]) => string; }) => (strings: string | TemplateStringsArray, ...values: any[]) => ($$anchor: any, $$props: any) => void' is not assignable to parameter of type '(el: keyof HTMLElementTagNameMap, options: TwcOptions) => TwcFunction<keyof HTMLElementTagNameMap>'.
|
check:
src/server.ts#L4
Argument of type '(el: keyof HTMLElementTagNameMap, options: { compose: (...args: any[]) => string; }) => (strings: string | TemplateStringsArray, ...values: any[]) => ($$payload: any, $$props: any) => void' is not assignable to parameter of type '(el: keyof HTMLElementTagNameMap, options: TwcOptions) => TwcFunction<keyof HTMLElementTagNameMap>'.
|
check
Process completed with exit code 2.
|