diff --git a/src/windows/tabs/tabWindow.ts b/src/windows/tabs/tabWindow.ts
index a1a1352..9355d88 100644
--- a/src/windows/tabs/tabWindow.ts
+++ b/src/windows/tabs/tabWindow.ts
@@ -62,24 +62,29 @@ export interface TabWindowParams extends BaseWindowParams
/**
* Create a new flexiblely designed window that has tabs. An arrow function can be used to create windows to fit a specific viewmodel.
*
- * @example
Create a simple window
- *
+ * @example
* const template = tabwindow({ title: "Hello world!" })
*
* template.open()
- *
- * @example Create a window based on a viewmodel
- *
+ */
+export function tabwindow(params: TabWindowParams): WindowTemplate;
+/**
+ * Create a new flexiblely designed window that has tabs. An arrow function can be used to create windows to fit a specific viewmodel.
+ * *
+ * @example
* class MyModel
* {
* header: store("Hello world!")
* };
- * const template = tabwindow(model => ({ title: model.header }))
+ *
+ * const template = tabwindow(model =>
+ * ({
+ * title: model.header
+ * }))
*
* template.open(new MyModel())
*/
-export function tabwindow(params: (model: TModel) => TabWindowParams): WindowTemplate;
-export function tabwindow(params: TabWindowParams): WindowTemplate;
+export function tabwindow(params: (model: TModel) => TabWindowParams): WindowTemplate;
export function tabwindow(params: ((model: T) => TabWindowParams) | TabWindowParams): WindowTemplate
{
Log.debug("tabwindow() started");
diff --git a/src/windows/window.ts b/src/windows/window.ts
index 7e7a385..d4e3cf5 100644
--- a/src/windows/window.ts
+++ b/src/windows/window.ts
@@ -31,24 +31,29 @@ export interface WindowParams extends BaseWindowParams, FlexibleDirectionalLayou
/**
* Create a new flexiblely designed window.
*
- * @example Create a simple window
- *
+ * @example
* const template = window({ title: "Hello world!" })
*
* template.open()
+ */
+export function window(params: WindowParams): WindowTemplate;
+/**
+ * Create a new flexiblely designed window with a viewmodel.
*
- * @example Create a window based on a viewmodel
- *
+ * @example
* class MyModel
* {
* header: store("Hello world!")
* };
- * const template = window(model => ({ title: model.header }))
+ *
+ * const template = window(model =>
+ * ({
+ * title: model.header
+ * }))
*
* template.open(new MyModel())
*/
-export function window(params: (model: TModel) => WindowParams): WindowTemplate;
-export function window(params: WindowParams): WindowTemplate;
+export function window(params: (model: TModel) => WindowParams): WindowTemplate;
export function window(params: ((model: T) => WindowParams) | WindowParams): WindowTemplate
{
Log.debug("window() started");