We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a122c6 + 36e2a4e commit 8431591Copy full SHA for 8431591
package/src/skia/types/Data/Data.ts
@@ -2,5 +2,4 @@ import type { SkJSIInstance } from "../JsiInstance";
2
3
export type Data = SkJSIInstance<"Data">;
4
5
-type Require = number;
6
-export type DataSource = Require | string | Uint8Array;
+export type DataSource = ReturnType<typeof require> | string | Uint8Array;
0 commit comments