Skip to content

Instantly share code, notes, and snippets.

@ofer-papaya
Created February 18, 2019 11:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ofer-papaya/2876826c01a1172c1211a2444d6c1827 to your computer and use it in GitHub Desktop.
Save ofer-papaya/2876826c01a1172c1211a2444d6c1827 to your computer and use it in GitHub Desktop.
Fullstory API typescript definitions
interface Fullstory {
identify(uid: string): void;
setUserVars(userVars: object): void;
getCurrentSessionURL(): string;
log(msg: string);
log(level: string, msg: string);
shutdown();
restart();
consent(consent: boolean);
}
declare var FS: Fullstory;
@pragmat1c
Copy link

pragmat1c commented Jul 5, 2022

This interface isn't quite right. I forked and updated it here:

https://gist.github.com/pragmat1c/8e0c60dec3a797af2723d685ade879a3

Based on the API as documented here:
https://developer.fullstory.com/introduction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment