File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545
4646 - name : Run TypeScript (tsc)
4747 run : |
48- bun typecheck | reviewdog -name="tsc" -efm="%f(%l,%c): error TS%n: %m" -reporter="github-pr-review" -filter-mode="nofilter" -fail-on-error -tee
48+ set -o pipefail
49+ bun typecheck | reviewdog -name="tsc" -efm="%f(%l,%c): error TS%n: %m" -reporter="github-pr-review" -filter-mode="nofilter" -fail-level=error -tee
4950 env :
5051 REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5152
Original file line number Diff line number Diff line change 1- import type { HybridObject } from 'react-native-nitro-modules'
1+ import type {
2+ HybridObject ,
3+ type PlatformSpec ,
4+ } from 'react-native-nitro-modules'
25
36function dim ( string : string ) : string {
47 return `\x1b[2m${ string } \x1b[0m`
58}
69
7- export function logPrototypeChain ( type : HybridObject ) : void {
10+ export function logPrototypeChain < Platforms extends PlatformSpec > (
11+ type : HybridObject < Platforms >
12+ ) : void {
813 console . log ( `Prototype chain of ${ type . name } :` )
914 let object = type
1015 let indentation = ' '
You can’t perform that action at this time.
0 commit comments