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.
1 parent 51c85c6 commit b767802Copy full SHA for b767802
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