File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export function isPlainObject(wat: unknown): wat is Record<string, unknown> {
101101 * @param wat A value to be checked.
102102 * @returns A boolean representing the result.
103103 */
104- export function isEvent ( wat : unknown ) : wat is Event {
104+ export function isEvent ( wat : unknown ) : boolean {
105105 return typeof Event !== 'undefined' && isInstanceOf ( wat , Event ) ;
106106}
107107
@@ -112,7 +112,7 @@ export function isEvent(wat: unknown): wat is Event {
112112 * @param wat A value to be checked.
113113 * @returns A boolean representing the result.
114114 */
115- export function isElement ( wat : unknown ) : wat is Element {
115+ export function isElement ( wat : unknown ) : boolean {
116116 return typeof Element !== 'undefined' && isInstanceOf ( wat , Element ) ;
117117}
118118
You can’t perform that action at this time.
0 commit comments