Skip to content

Commit

Permalink
Fix codegen trying to parse .d.ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Aug 17, 2022
1 parent 4eec473 commit d332183
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ function filterJSFile(file: string) {
// NativeSampleTurboModule is for demo purpose. It should be added manually to the
// app for now.
!file.endsWith('NativeSampleTurboModule.js') &&
!file.includes('__tests')
!file.includes('__tests') &&
// Ignore TypeScript type declaration files.
!file.endsWith('.d.ts')
);
}

Expand Down

0 comments on commit d332183

Please sign in to comment.