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

Commit

Permalink
fix(doc): fix typo in document, fix a typescript warning in test (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaLiPassion authored and mhevery committed Apr 21, 2017
1 parent 5090cf9 commit 55cf064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/browser/registerElement.spec.ts
Expand Up @@ -31,7 +31,7 @@ describe(
callbackNames.map(function(callbackName) {
const fullCallbackName = callbackName + 'Callback';
const proto = Object.create(HTMLElement.prototype);
proto[fullCallbackName] = function(arg: any) {
(proto as any)[fullCallbackName] = function(arg: any) {
callbacks[callbackName](arg);
};
return (<any>document).registerElement('x-' + callbackName.toLowerCase(), {
Expand Down

0 comments on commit 55cf064

Please sign in to comment.