Skip to content

Commit a1ff6fe

Browse files
fix: typecheck hook
1 parent 80eed9a commit a1ff6fe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/side-by-side/SandboxApp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import {
1111
} from 'react-native'
1212

1313
declare global {
14-
var postMessage: (message: object) => void
15-
var setOnMessage: (handler: (payload: object) => void) => void
14+
var postMessage: (message: any, targetOrigin?: string) => void
15+
var setOnMessage: (handler: (payload: any) => void) => void
1616
}
1717

1818
type AppProps = {

lefthook.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ pre-commit:
33
commands:
44
lint:
55
glob: '*.{js,ts,jsx,tsx}'
6-
run: npx eslint {staged_files}
6+
run: bun eslint {staged_files}
77
types:
8-
glob: '*.{js, ts, jsx, tsx}'
9-
run: npx typecheck
8+
glob: '*.{js,ts,jsx,tsx}'
9+
run: bun typecheck
1010
commit-msg:
1111
parallel: true
1212
commands:
1313
commitlint:
14-
run: npx commitlint --edit
14+
run: bun commitlint --edit

0 commit comments

Comments
 (0)