Skip to content

Commit

Permalink
fix: ts issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Jul 10, 2023
1 parent 2e1a2f5 commit d9bf434
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 3 additions & 6 deletions src/SkiaSkottieView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ import {
const NativeSkiaSkottieView =
requireNativeComponent<NativeSkiaViewProps>('SkiaSkottieView');

export type SkiaSkottieViewProps = SkiaProps<
NativeSkiaViewProps & {
src: string;
progress: number;
}
>;
export type SkiaSkottieViewProps = NativeSkiaViewProps & {
src: string;
} & SkiaProps<{ progress: number }>;

// TODO: make the nativeId safe by sharing it from the rn-skia implementation
const nativeId = { current: 94192 };
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

{
"extends": "./tsconfig",
"exclude": ["example"]
"exclude": ["example", "externals"]
}

0 comments on commit d9bf434

Please sign in to comment.