Skip to content

Commit 3435abf

Browse files
committed
chore: add error message for removed api
1 parent 23de265 commit 3435abf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lit/SymbioteCompatMixin.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ export function SymbioteMixin<TState extends Record<string, unknown> = Record<st
6464

6565
private _pendingCtxInitOnConnect = false;
6666

67+
public static set template(_value: never) {
68+
console.error(
69+
`Caution: static 'template' property is deprecated and has no effect. See https://github.com/uploadcare/file-uploader/releases/tag/v1.25.0 for details.`,
70+
);
71+
}
72+
6773
@property({ type: String, attribute: 'ctx-name', noAccessor: true })
6874
private get _ctxNameAttr(): string | undefined {
6975
return this._ctxNameAttrValue;

0 commit comments

Comments
 (0)