Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
chore: upgrade to typescript 4
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Upgrade typescript dependency to version 4

re #405
  • Loading branch information
tamj0rd2 committed Sep 11, 2020
1 parent 467fb79 commit 95ce432
Show file tree
Hide file tree
Showing 14 changed files with 801 additions and 714 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ lib
.nyc_output
out
test-environment
docker-compose*
Dockerfile
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ purposes.
You can find more information about generating schemas and why you might want to
do that [here](#generate)

## Typescript Compatability

- Typescript 3 - Everything below ncdc version 1.0.0
- Typescript 4 - Everything above ncdc version 1.0.0

## CLI usage

```
Expand Down
2 changes: 1 addition & 1 deletion black-box-tests/acceptance/serve.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('ncdc serve', () => {
})

it('logs a message and kills the server when the config file has problems', async () => {
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
configWrapper.editConfig('Books', (c) => ({ ...c, request: {} }))

Expand Down
Loading

0 comments on commit 95ce432

Please sign in to comment.