forked from denoland/deno_graph
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path2_1_3.test
More file actions
60 lines (42 loc) · 2.11 KB
/
2_1_3.test
File metadata and controls
60 lines (42 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
zeppet/actions/2.1.3
-- deno.lock --
{}
===
== FAST CHECK EMIT PASSED ==
== TYPE CHECK FAILED ==
-- stdout --
-- stderr --
TS2304 [ERROR]: Cannot find name 'HTMLElementEventMap'.
export const listen = <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void): ActionFn =>({} as never);
~~~~~~~~~~~~~~~~~~~
at file://<tmpdir>/src/index.ts:5:40
TS2304 [ERROR]: Cannot find name 'HTMLElementEventMap'.
export const listen = <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void): ActionFn =>({} as never);
~~~~~~~~~~~~~~~~~~~
at file://<tmpdir>/src/index.ts:5:92
TS2304 [ERROR]: Cannot find name 'HTMLElement'.
export const bindFieldToObs = <T extends HTMLElement, K extends keyof T>(field: K, obs: Observer<NonNullable<T[K]>>)=>(element: T): T =>({} as never);
~~~~~~~~~~~
at file://<tmpdir>/src/index.ts:6:42
TS2304 [ERROR]: Cannot find name 'HTMLElement'.
at file://<tmpdir>/src/index.ts:7:48
TS2304 [ERROR]: Cannot find name 'HTMLElement'.
at file://<tmpdir>/src/index.ts:8:41
TS2304 [ERROR]: Cannot find name 'HTMLElementEventMap'.
at file://<tmpdir>/src/index.ts:8:73
TS2304 [ERROR]: Cannot find name 'HTMLElementEventMap'.
at file://<tmpdir>/src/index.ts:8:154
TS2304 [ERROR]: Cannot find name 'HTMLInputElement'.
export const bindInput = <T extends HTMLInputElement>(obs: Observer<string>): Action<T> =>({} as never);
~~~~~~~~~~~~~~~~
at file://<tmpdir>/src/index.ts:9:37
TS2304 [ERROR]: Cannot find name 'HTMLElement'.
at file://<tmpdir>/src/index.ts:10:34
TS2304 [ERROR]: Cannot find name 'HTMLElementTagNameMap'.
at file://<tmpdir>/src/index.ts:10:63
TS2304 [ERROR]: Cannot find name 'HTMLElementTagNameMap'.
at file://<tmpdir>/src/index.ts:10:179
TS2304 [ERROR]: Cannot find name 'HTMLElementTagNameMap'.
at file://<tmpdir>/src/index.ts:10:208
Found 12 errors.
error: Type checking failed.