Created
February 18, 2019 11:57
-
-
Save ofer-papaya/2876826c01a1172c1211a2444d6c1827 to your computer and use it in GitHub Desktop.
Fullstory API typescript definitions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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