Skip to content

Commit

Permalink
Chore: Updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
timocov committed Nov 21, 2022
1 parent fa9462b commit 0aba39e
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 32 deletions.
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -24,17 +24,17 @@
"@types/mocha": "~10.0.0",
"@types/node": "~14.18.26",
"@types/yargs": "~17.0.13",
"@typescript-eslint/eslint-plugin": "~5.38.1",
"@typescript-eslint/parser": "~5.38.1",
"eslint": "~8.24.0",
"@typescript-eslint/eslint-plugin": "~5.44.0",
"@typescript-eslint/parser": "~5.44.0",
"eslint": "~8.28.0",
"eslint-plugin-deprecation": "~1.3.2",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-prefer-arrow": "~1.2.1",
"eslint-plugin-unicorn": "~44.0.0",
"mocha": "~10.0.0",
"eslint-plugin-unicorn": "~45.0.0",
"mocha": "~10.1.0",
"npm-run-all": "~4.1.5",
"rimraf": "~3.0.2",
"ts-compiler": "npm:typescript@4.8.4",
"ts-compiler": "npm:typescript@4.9.3",
"ts-node": "~10.9.1"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/banner/output.d.ts
@@ -1,5 +1,5 @@
// Generated by dts-bundle-generator v7.0.0

export declare type TypeName = string | number;
export type TypeName = string | number;

export {};
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/custom-types-folder/output.d.ts
@@ -1,5 +1,5 @@
import { Data } from 'fake-types-lib-2/data';

export declare type MyData = Data | string;
export type MyData = Data | string;

export {};
Expand Up @@ -8,7 +8,7 @@ declare enum Enum {
declare function func(): void;
interface Interface {
}
declare type Type = string;
type Type = string;
declare const enum ConstEnum2 {
}
declare enum Enum2 {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/export-default-from-entry/output.d.ts
@@ -1,6 +1,6 @@
export interface MyInterface {
}
export declare type MyType<T> = {
export type MyType<T> = {
[K in keyof T]: string;
};
export default class NewClass implements MyInterface {
Expand Down
Expand Up @@ -2,6 +2,6 @@ declare const variableName: {
a: number;
b: string;
};
export declare type TypeOfConst = keyof typeof variableName;
export type TypeOfConst = keyof typeof variableName;

export {};
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/handle-export-eq-from-npm/output.d.ts
Expand Up @@ -5,6 +5,6 @@ import { NamedDeclaration } from 'typescript';
export declare class StoppableEventEmitter extends EventEmitter {
emitStoppableEvent(error: Error): this;
}
export declare type ExportType = SomeCoolInterface | NamedDeclaration | string;
export type ExportType = SomeCoolInterface | NamedDeclaration | string;

export {};
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/import()-type/output.d.ts
Expand Up @@ -12,6 +12,6 @@ export interface MyType {
field3: import("ora").Options;
field4: GenericType<number, string>;
}
export declare type MySecondType = MyType | number;
export type MySecondType = MyType | number;

export {};
@@ -1,5 +1,5 @@
import { InterfaceWithFields } from 'fake-package';

export declare type MyType = InterfaceWithFields | null;
export type MyType = InterfaceWithFields | null;

export {};
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/import-from-deps/output.d.ts
@@ -1,5 +1,5 @@
import { Interface, Type } from 'fake-package';

export declare type TestType = Interface | Type;
export type TestType = Interface | Type;

export {};
@@ -1,6 +1,6 @@
export interface Options {
}
export declare const ExportedValue: Options;
export declare type ExportedType = Options;
export type ExportedType = Options;

export {};
@@ -1,5 +1,5 @@
import { FooBar } from 'fake-types-lib-3';

export declare type Baz = FooBar<ArrayConstructor>;
export type Baz = FooBar<ArrayConstructor>;

export {};
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/import-type-from-deps/output.d.ts
@@ -1,6 +1,6 @@
import { InterfaceWithFields } from 'fake-package';

export declare type FakePackageType = InterfaceWithFields | string;
export declare type TestType = InterfaceWithFields | FakePackageType;
export type TestType = InterfaceWithFields | FakePackageType;

export {};
@@ -1,3 +1,3 @@
export declare type FooBar = number;
export type FooBar = number;

export {};
4 changes: 2 additions & 2 deletions tests/e2e/test-cases/inline-from-deps/output.d.ts
Expand Up @@ -11,9 +11,9 @@ declare class SomeClass {
private x;
public constructor();
}
export declare type TestType = Interface | Type;
export type TestType = Interface | Type;
export declare class MyClass extends SomeClass {
}
export declare type ReExportedTypes = Derived;
export type ReExportedTypes = Derived;

export {};
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/primitive-generation/output.d.ts
@@ -1,4 +1,4 @@
export declare type TypeName = string | number;
export type TypeName = string | number;
export interface InterfaceName {
prop: number;
prop2: TypeName;
Expand Down
@@ -1,4 +1,4 @@
export declare type ClassNamesFn = () => void;
export type ClassNamesFn = () => void;
export declare const classNames: ClassNamesFn;
export declare const isPromise: (value: unknown) => boolean;

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/save-jsdoc/output.d.ts
Expand Up @@ -20,7 +20,7 @@ export interface ExportedInterface {
/**
* ExportedType JSDoc
*/
export declare type ExportedType = string | number;
export type ExportedType = string | number;
/**
* ExportedConstEnum JSDoc
*/
Expand Down
Expand Up @@ -2,7 +2,7 @@ import * as firstImport from 'package-with-default-export';
import * as secondImport from 'package-with-default-export';
import * as thirdImportWholeModule from 'package-with-default-export';

export declare type ExportedType = string | number;
export type ExportedType = string | number;
export interface ExportedInterface {
field1: typeof firstImport.default;
field2: typeof secondImport.default;
Expand Down
12 changes: 6 additions & 6 deletions tests/e2e/test-cases/sort-nodes/output.d.ts
@@ -1,14 +1,14 @@
export declare type ATypeName = string | number;
export declare type BType = number;
/**
* Some description
*/
export declare type ZTypeName = string | null;
export interface BInterfaceName {
prop: number;
prop2: ATypeName;
}
export interface CInterfaceName {
}
export type ATypeName = string | number;
export type BType = number;
/**
* Some description
*/
export type ZTypeName = string | null;

export {};
2 changes: 1 addition & 1 deletion tests/e2e/test-cases/using-custom-types/output.d.ts
@@ -1,5 +1,5 @@
import { InterfaceName } from 'my-library';

export declare type MyType = InterfaceName | string;
export type MyType = InterfaceName | string;

export {};

0 comments on commit 0aba39e

Please sign in to comment.