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 e7ee903 commit 1a74df2Copy full SHA for 1a74df2
index.d.ts
@@ -1,12 +1,12 @@
1
declare interface Options {
2
- sendDeviceInfo: boolean,
3
- done: (err: object, response: object) => void
+ sendDeviceInfo?: boolean,
+ done?: (err?: object, response?: object) => void
4
}
5
6
declare class Ingrow {
7
constructor(apiKey: string, projectID: string, userId?: string);
8
setUserID(userID: string): void;
9
- sendEvent(stream: string, data: object, options: Options): void;
+ sendEvent(stream: string, data: object, options?: Options): void;
10
11
12
export default Ingrow
0 commit comments