Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76a353c

Browse files
authored
Merge branch 'master' into expose-all
2 parents 2c85f09 + 244cac2 commit 76a353c

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

‎.github/workflows/compressed-size.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v2
12-
- uses: preactjs/compressed-size-action@v1
12+
- uses: preactjs/compressed-size-action@v2
1313
with:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"

‎.github/workflows/main.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: CI
22

3-
on: [push]
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
push:
8+
branches:
9+
- master
410

511
jobs:
612
build:

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const emitter: mitt.Emitter = mitt();
115115

116116
Mitt: Tiny (~200b) functional event emitter / pubsub.
117117

118-
Returns **Mitt**
118+
Returns **Mitt**
119119

120120
### emit
121121

‎src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export type EventType = string | symbol;
33
// An event handler can take an optional event argument
44
// and should not return a value
55
export type Handler = (event?: any) => void;
6-
export type WildcardHandler= (type: EventType, event?: any) => void
6+
export type WildcardHandler = (type: EventType, event?: any) => void
77

88
// An array of all currently registered event handlers for a type
99
export type EventHandlerList = Array<Handler>;

0 commit comments

Comments
 (0)