diff options
| author | Leo K <crowlkats@toaxl.com> | 2021-08-05 13:08:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-05 13:08:58 +0200 |
| commit | 3f0cf9619fce71a8898c495501df4bdb0e07e735 (patch) | |
| tree | 1b8af2c832f8344f9a39f55326d576eab63f447f /cli/tests/recursive_imports | |
| parent | 299c7cfe54cb184e0d0c18b00a154c953b433ebf (diff) | |
refactor(cli/tests): remove unnecessary void return types (#11577)
Diffstat (limited to 'cli/tests/recursive_imports')
| -rw-r--r-- | cli/tests/recursive_imports/A.ts | 2 | ||||
| -rw-r--r-- | cli/tests/recursive_imports/B.ts | 2 | ||||
| -rw-r--r-- | cli/tests/recursive_imports/C.ts | 2 | ||||
| -rw-r--r-- | cli/tests/recursive_imports/common.ts | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/recursive_imports/A.ts b/cli/tests/recursive_imports/A.ts index 04ef61581..43ecdbe5e 100644 --- a/cli/tests/recursive_imports/A.ts +++ b/cli/tests/recursive_imports/A.ts @@ -1,7 +1,7 @@ import { B } from "./B.ts"; import { thing } from "./common.ts"; -export function A(): void { +export function A() { thing(); B(); } diff --git a/cli/tests/recursive_imports/B.ts b/cli/tests/recursive_imports/B.ts index a6e6917fd..9fff0fdc9 100644 --- a/cli/tests/recursive_imports/B.ts +++ b/cli/tests/recursive_imports/B.ts @@ -1,7 +1,7 @@ import { C } from "./C.ts"; import { thing } from "./common.ts"; -export function B(): void { +export function B() { thing(); C(); } diff --git a/cli/tests/recursive_imports/C.ts b/cli/tests/recursive_imports/C.ts index be6ef9240..e47e77b41 100644 --- a/cli/tests/recursive_imports/C.ts +++ b/cli/tests/recursive_imports/C.ts @@ -1,7 +1,7 @@ import { A } from "./A.ts"; import { thing } from "./common.ts"; -export function C(): void { +export function C() { if (A != null) { thing(); } diff --git a/cli/tests/recursive_imports/common.ts b/cli/tests/recursive_imports/common.ts index d0f41395d..2b16a7bf1 100644 --- a/cli/tests/recursive_imports/common.ts +++ b/cli/tests/recursive_imports/common.ts @@ -1,2 +1,2 @@ -export function thing(): void { +export function thing() { } |
