From c4307e187f27bb2f5bbe35ad4b95c09d918e3cde Mon Sep 17 00:00:00 2001 From: Peter Fajdiga Date: Mon, 21 Aug 2023 22:01:07 +0200 Subject: [PATCH] use namespaces instead of modules --- src/Actions.ts | 2 +- src/layout/Desktop.ts | 2 +- src/world/Clients.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Actions.ts b/src/Actions.ts index 20a1cf8..1c883e5 100644 --- a/src/Actions.ts +++ b/src/Actions.ts @@ -1,4 +1,4 @@ -module Actions { +namespace Actions { export function init(world: World, config: Config) { return { focusLeft: () => { diff --git a/src/layout/Desktop.ts b/src/layout/Desktop.ts index 24b5c08..c120a83 100644 --- a/src/layout/Desktop.ts +++ b/src/layout/Desktop.ts @@ -146,7 +146,7 @@ class Desktop { } } -module Desktop { +namespace Desktop { export type Config = { marginTop: number, marginBottom: number, diff --git a/src/world/Clients.ts b/src/world/Clients.ts index 2e6160a..f6d7af4 100644 --- a/src/world/Clients.ts +++ b/src/world/Clients.ts @@ -1,4 +1,4 @@ -module Clients { +namespace Clients { export function canTileEver(kwinClient: AbstractClient) { return kwinClient.resizeable; }