File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
steps :
11
11
- uses : actions/checkout@v2
12
- - uses : preactjs/compressed-size-action@v1
12
+ - uses : preactjs/compressed-size-action@v2
13
13
with :
14
14
repo-token : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
- on : [push]
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - ' **'
7
+ push :
8
+ branches :
9
+ - master
4
10
5
11
jobs :
6
12
build :
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ const emitter: mitt.Emitter = mitt();
115
115
116
116
Mitt: Tiny (~ 200b) functional event emitter / pubsub.
117
117
118
- Returns ** Mitt**
118
+ Returns ** Mitt**
119
119
120
120
### emit
121
121
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ export type EventType = string | symbol;
3
3
// An event handler can take an optional event argument
4
4
// and should not return a value
5
5
export type Handler = ( event ?: any ) => void ;
6
- export type WildcardHandler = ( type : EventType , event ?: any ) => void
6
+ export type WildcardHandler = ( type : EventType , event ?: any ) => void
7
7
8
8
// An array of all currently registered event handlers for a type
9
9
export type EventHandlerList = Array < Handler > ;
You can’t perform that action at this time.
0 commit comments