Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 55cf064

Browse files
JiaLiPassionmhevery
authored andcommitted
fix(doc): fix typo in document, fix a typescript warning in test (#732)
1 parent 5090cf9 commit 55cf064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/browser/registerElement.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe(
3131
callbackNames.map(function(callbackName) {
3232
const fullCallbackName = callbackName + 'Callback';
3333
const proto = Object.create(HTMLElement.prototype);
34-
proto[fullCallbackName] = function(arg: any) {
34+
(proto as any)[fullCallbackName] = function(arg: any) {
3535
callbacks[callbackName](arg);
3636
};
3737
return (<any>document).registerElement('x-' + callbackName.toLowerCase(), {

0 commit comments

Comments
 (0)