including-modules
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
export declare const eventNameErrorFeedback = "NEXT_ERROR_FEEDBACK";
|
||||
export type EventErrorFeedback = {
|
||||
errorCode: string;
|
||||
wasHelpful: boolean;
|
||||
};
|
||||
/**
|
||||
* Records telemetry for error feedback.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* telemetry.record(eventErrorFeedback({
|
||||
* errorCode: 'E1',
|
||||
* wasHelpful: true
|
||||
* }))
|
||||
* ```
|
||||
*/
|
||||
export declare function eventErrorFeedback(event: EventErrorFeedback): {
|
||||
eventName: string;
|
||||
payload: EventErrorFeedback;
|
||||
};
|
||||
Reference in New Issue
Block a user