From 9461e44d04fb7ec2f0e9cc7162301c64b7c6b9af Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 1 Aug 2023 15:56:19 +0300 Subject: [PATCH] chore: putout: update fixtures --- packages/engine-parser/test/fixture/typescript-fix.ts | 1 + .../test/fixture/typescript-fix.js | 1 + .../lib/remove-unused-types/fixture/bubling.ts | 3 ++- .../lib/remove-unused-types/fixture/export.ts | 2 -- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/engine-parser/test/fixture/typescript-fix.ts b/packages/engine-parser/test/fixture/typescript-fix.ts index ab7ab852c4..6c50f25c3f 100644 --- a/packages/engine-parser/test/fixture/typescript-fix.ts +++ b/packages/engine-parser/test/fixture/typescript-fix.ts @@ -1,4 +1,5 @@ export interface IInputHandlingTerminal {} + export class Lines { toString() {} } diff --git a/packages/plugin-remove-unused-variables/test/fixture/typescript-fix.js b/packages/plugin-remove-unused-variables/test/fixture/typescript-fix.js index ab7ab852c4..6c50f25c3f 100644 --- a/packages/plugin-remove-unused-variables/test/fixture/typescript-fix.js +++ b/packages/plugin-remove-unused-variables/test/fixture/typescript-fix.js @@ -1,4 +1,5 @@ export interface IInputHandlingTerminal {} + export class Lines { toString() {} } diff --git a/packages/plugin-typescript/lib/remove-unused-types/fixture/bubling.ts b/packages/plugin-typescript/lib/remove-unused-types/fixture/bubling.ts index dc8fce271c..d14225cfde 100644 --- a/packages/plugin-typescript/lib/remove-unused-types/fixture/bubling.ts +++ b/packages/plugin-typescript/lib/remove-unused-types/fixture/bubling.ts @@ -1,3 +1,4 @@ export interface User { contacts: Contacts; -}type Contacts = 'string'; +} +type Contacts = 'string'; diff --git a/packages/plugin-typescript/lib/remove-unused-types/fixture/export.ts b/packages/plugin-typescript/lib/remove-unused-types/fixture/export.ts index ef5bf56d0e..d113dfe921 100644 --- a/packages/plugin-typescript/lib/remove-unused-types/fixture/export.ts +++ b/packages/plugin-typescript/lib/remove-unused-types/fixture/export.ts @@ -2,5 +2,3 @@ export type Point = { a: number; b: string; }; - -