-
Notifications
You must be signed in to change notification settings - Fork 93
Basic Typescript Type Definitions #96
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
base: develop
Are you sure you want to change the base?
Conversation
Revise link to contact us (no more support@splunk.com).
Update contact us information (no more support@splunk.com). Addresses SCP-16043
Support portal link
Fix links to contribution guidelines.
Revise link to contact us (no more support@splunk.com).
Fix links to contribution guidelines.
Pking scp 16043
Pking dvpl 7677
- Typescript installation snippet - Typescript Service snippet - Recommended tsconfig.json example - Typescript /dist description - Typescript Link
…ascript into origin/develop
What do i have to do to replicate the CI test? It really seems like the issue is mostly related to all the ES5-compatible exporting that you have to do in order to get Typescript to recognize the classes we're exporting (the
And then, when running
Not really sure how to make the CI build succeed if I can't troubleshoot locally... |
Summary
This PR serves to give basic support for Typescript to the SDK based off of the JSDoc spec, as well as suggesting configurations for devs looking to port their modules and code to Typescript.
Purpose
This PR is meant to assist with Typescript libraries looking to implement the SDK. This will further enable and widen the Splunk Dev community, as well as allow people to better understand the inner workings of the library.
Additions and Changes
.gitignore
.vscode/
folder ignore for developmentREADME.md
/dist
tsconfig.json
package.json
types
key to tell Typescript where the Typescript files are supposed to be read fromtslint.json