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

Declare types for this package. #112

Closed
RahulGautamSingh opened this issue Dec 31, 2021 · 0 comments
Closed

Declare types for this package. #112

RahulGautamSingh opened this issue Dec 31, 2021 · 0 comments

Comments

@RahulGautamSingh
Copy link
Contributor

RahulGautamSingh commented Dec 31, 2021

What would you like to be able to do?

We use this package in renovate and due to absence of types.ts file we will have to create a .d.ts file there to declare the module as per typescript rules when strictNullCheck is true.
Image:-
image

Did you already have any implementation ideas?

We can add types.ts file here and declare the types in that file.

I have not written a types.ts file in past but I am learning TS and am interested in implementing the solution.

@RahulGautamSingh RahulGautamSingh changed the title Should we add a types.ts file to this package Declare types for this package. Dec 31, 2021
@viceice viceice closed this as completed Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants