Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types support for typescript? #35

Open
albseb511 opened this issue Oct 1, 2021 · 2 comments
Open

Types support for typescript? #35

albseb511 opened this issue Oct 1, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request feature-request

Comments

@albseb511
Copy link

albseb511 commented Oct 1, 2021

Do you have a typescript support for this?


declare module "clevertap-web-sdk" {
  export const event: any[];
  export const profile: any[];
  export const account: any[];
  export const onUserLogin: any[];
  export const notifications: any[];
  export const privacy: any[];
  export function init(accountId: string, region?: string, domain?: string);
  export let spa: boolean;
  export function setLogLevel( level: nuumber );
}

i did end up making a temporary one for now

@akashvercetti
Copy link
Collaborator

Hi @albseb511, We currently do not have ts support but your suggestion is noted and we'll surely be looking into it for future versions.

@albseb511
Copy link
Author

then keep the issue open? so that its not lost?

@Aditi3 Aditi3 added the enhancement New feature or request label Oct 1, 2021
@Aditi3 Aditi3 reopened this Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature-request
Projects
None yet
Development

No branches or pull requests

4 participants