Skip to content

Add TypeScript definitions#36

Open
LinusU wants to merge 1 commit into
lukechilds:masterfrom
LinusU:typescript
Open

Add TypeScript definitions#36
LinusU wants to merge 1 commit into
lukechilds:masterfrom
LinusU:typescript

Conversation

@LinusU

@LinusU LinusU commented Aug 4, 2019

Copy link
Copy Markdown

We are applying strict type checking to got in sindresorhus/got#849, and it would be great if we could merge the type definitions for this project upstream here ☺️

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 851aafe on LinusU:typescript into 2357c50 on lukechilds:master.

Comment thread src/index.d.ts

declare function createTestServer(options: createTestServer.Options): Promise<createTestServer.Server>;

export = createTestServer;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could you test the types? https://github.com/SamVerschueren/tsd

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

Successfully merging this pull request may close these issues.

3 participants