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> {
101
101
* @param wat A value to be checked.
102
102
* @returns A boolean representing the result.
103
103
*/
104
- export function isEvent ( wat : unknown ) : wat is Event {
104
+ export function isEvent ( wat : unknown ) : boolean {
105
105
return typeof Event !== 'undefined' && isInstanceOf ( wat , Event ) ;
106
106
}
107
107
@@ -112,7 +112,7 @@ export function isEvent(wat: unknown): wat is Event {
112
112
* @param wat A value to be checked.
113
113
* @returns A boolean representing the result.
114
114
*/
115
- export function isElement ( wat : unknown ) : wat is Element {
115
+ export function isElement ( wat : unknown ) : boolean {
116
116
return typeof Element !== 'undefined' && isInstanceOf ( wat , Element ) ;
117
117
}
118
118
You can’t perform that action at this time.
0 commit comments