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

Add ts declaration file #425

Merged
merged 13 commits into from
Mar 21, 2019
Merged

Conversation

y-kkamil
Copy link

Description

Changes proposed in this pull request:

  • Add typescript declaration file for luigi client

Related issue(s)
Fixes #418

Copy link
Contributor

@jesusreal jesusreal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested some changes. Very good job!
I would also like to discuss with you about a potential follow up task.

core/examples/luigi-sample-angular/tsconfig.json Outdated Show resolved Hide resolved
client/luigi-client.d.ts Outdated Show resolved Hide resolved
client/luigi-client.d.ts Outdated Show resolved Hide resolved
client/luigi-client.d.ts Show resolved Hide resolved
client/luigi-client.d.ts Show resolved Hide resolved
client/luigi-client.d.ts Outdated Show resolved Hide resolved
client/luigi-client.d.ts Show resolved Hide resolved
@jesusreal jesusreal added the enhancement New feature or request label Mar 19, 2019
@parostatkiem-zz parostatkiem-zz self-assigned this Mar 20, 2019
Copy link
Contributor

@parostatkiem-zz parostatkiem-zz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done 👍
I agree with most of Jesus' comments but they are minor things :)

@y-kkamil
Copy link
Author

I have changed the import style to use {} instead of default export, also added parentNavigationContext to Context interface and reordered functions in the declaration file.

@y-kkamil y-kkamil merged commit c20d3b1 into SAP:master Mar 21, 2019
@y-kkamil y-kkamil deleted the add-ts-declaration-file branch March 21, 2019 12:51
stanleychh pushed a commit to stanleychh/luigi that referenced this pull request Dec 30, 2021
* Add typescript declaration for luigi client

* Add typescript declaration for luigi client

* Fix broken references for luigiClient

* Update formatting

* Remove index.d.ts

* Update formatting

* Fix broken groups view

* Fix broken overview view

* Reorder functions, change Context interface, remove moduleInterop

* Change import style

* Add some types to the existing codebase

* Revert broken package.json

* Update documentation after luigi-client changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide Typescript Module Template File for Client
4 participants