Skip to content

Commit 7672f05

Browse files
author
Artem Parkhomenko
committed
remove redundant changes
1 parent 5c6f59c commit 7672f05

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { Reader } from 'fp-ts/lib/Reader';
1515
export interface Language<A> {
1616
(documents: Record<string, A>): Either<unknown, FSEntity>;
1717
}
18-
1918
export interface GenerateOptions<A> {
2019
readonly cwd?: string;
2120
readonly out: string;

src/language/typescript/3.0/serializers/__tests__/operation-object.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ import { pipe } from 'fp-ts/lib/pipeable';
77
import { either, option } from 'fp-ts';
88
import { OperationObjectCodec } from '../../../../../schema/3.0/operation-object';
99
import { sequenceTEither } from '@devexperts/utils/dist/adt/either.utils';
10-
import { none } from 'fp-ts/lib/Option';
1110

1211
describe('OperationObject', () => {
1312
describe('getParameters', () => {
1413
const getParameters = createGetParameters({
1514
resolveRef: constant(left(new Error('Refs not supported'))),
16-
deepLookup: constant(none),
1715
});
1816

1917
it('should correctly handle primitive query parameters', () => {

src/language/typescript/common/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export const CONTROLLERS_DIRECTORY = 'controllers';
1010
export const DEFINITIONS_DIRECTORY = 'definitions';
1111
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1212
export type XHRResponseType = 'json' | 'blob' | 'text';
13-
export const JSON_RESPONSE_TYPE: XHRResponseType = 'json';
1413
const INVALID_NAMES = ['Error', 'Promise', 'PromiseLike', 'Array', 'ArrayLike', 'Function', 'Object'];
1514
const TYPE_NAME_NORMALIZE_REGEX = /\W/g;
1615
const normalize = (name: string): string => name.replace(TYPE_NAME_NORMALIZE_REGEX, '_').replace(/^(\d)/, '_$1');

src/utils/ref.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export interface Ref<R extends string = string> {
1111
readonly path: string;
1212
readonly target: string;
1313
}
14-
1514
export const eqRef: Eq<Ref> = getStructEq({
1615
$ref: eqString,
1716
name: eqString,

0 commit comments

Comments
 (0)