diff --git a/components/terminalservice/TerminalService.d.ts b/components/terminalservice/TerminalService.d.ts
index 7f0ce9fdb..996f426bb 100755
--- a/components/terminalservice/TerminalService.d.ts
+++ b/components/terminalservice/TerminalService.d.ts
@@ -1,3 +1,9 @@
+/**
+ * [Live Demo](https://www.primevue.org/terminal/)
+ *
+ * @module terminalservice
+ *
+ */
/**
* Confirmation Service methods.
*
@@ -5,17 +11,20 @@
*
*/
export interface TerminalServiceOptions {
+ /**
+ * Displays the terminal using the action options.
+ */
on: (action: 'command' | 'response' | undefined, fn: any) => void;
+ /**
+ * Emits the terminal using the action options.
+ */
emit: (action: 'command' | 'response' | undefined, params?: any) => void;
+ /**
+ * Closes the terminal using the action options.
+ */
off: (action: 'command' | 'response' | undefined, fn: any) => void;
}
declare const TerminalService: TerminalServiceOptions;
-/**
- * [Live Demo](https://www.primevue.org/terminal/)
- *
- * @module terminalservice
- *
- */
export default TerminalService;
diff --git a/pages/terminal/index.vue b/pages/terminal/index.vue
index 63f203cbc..591d18d9e 100755
--- a/pages/terminal/index.vue
+++ b/pages/terminal/index.vue
@@ -1,5 +1,5 @@
-
+