Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion declaration/out/declaration/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export declare const R1: t.RefinementC<t.TypeC<{
}>;
}>;
}>>;
declare type R = {
type R = {
a: number;
b: R | undefined | null;
};
Expand Down
6 changes: 3 additions & 3 deletions docs/modules/index.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ export class TaggedUnionType<Tag, CS, A, O, I> {
// tslint:disable-next-line: deprecation
encode: TaggedUnionType<Tag, CS, A, O, I>['encode'],
codecs: CS,
readonly tag: Tag
tag: Tag
) { ... }
...
}
Expand Down Expand Up @@ -2151,7 +2151,7 @@ Added in v1.0.0
**Signature**

```ts
export const getDefaultContext /* istanbul ignore next */ = (decoder: Decoder<any, any>): Context => ...
export const getDefaultContext = (decoder: Decoder<any, any>): Context => ...
```

Added in v1.0.0
Expand All @@ -2161,7 +2161,7 @@ Added in v1.0.0
**Signature**

```ts
export const getValidationError /* istanbul ignore next */ = (value: unknown, context: Context): ValidationError => ...
export const getValidationError = (value: unknown, context: Context): ValidationError => ...
```

Added in v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
collectCoverage: true,
collectCoverageFrom: ['src/**/*.ts'],
transform: {
'^.+\\.tsx?$': 'ts-jest'
'^.+\\.tsx?$': ['ts-jest', { tsconfig: { target: 'ES2015' } }]
},
testRegex: 'test',
moduleFileExtensions: ['ts', 'js'],
Expand Down
Loading
Loading