Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.

Conversation

@kommander
Copy link
Contributor

Adding typescript types to it.nock

Sebastian-Herrlinger and others added 18 commits August 31, 2020 08:07
* Allow to deactivate header recording overall

* Bump version, add build action badge

* fix badge name
* Typescript types for it.nock

Types are needed to inform tsc that the jest `it` function has `it.nock`

* Update index.d.ts

Co-authored-by: Basile Nouvellet <[email protected]>

* Fix global type that was removed from @types/node

This jest issue has more context jestjs/jest#11640

NodeJS.Global was removed from node types in version 16.  Typescript has
introducted `globalThis` and we can use `typeof globalThis` to reference
the global scope. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#type-checking-for-globalthis

Co-authored-by: Basile Nouvellet <[email protected]>
Adding typescript types for it.nock
@kommander kommander changed the title Bump version Add typescript types to it.nock / bump version Jan 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants