first commit

This commit is contained in:
douboer@gmail.com
2026-03-03 13:23:14 +08:00
commit 3b7c1d558a
161 changed files with 28120 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
/**
* Interface: Output Component
*/
export interface IOutputInterface {
/**
* Container element housing the console box
*/
el: HTMLDivElement;
/**
* Inbuilt callback function for every write operation
*/
onoutput?: () => void;
/**
* Output data to the console
*/
write(data: string, callback?: () => void): void;
/**
* Safely output data to the console
*/
writeSafe(data: string, callback?: () => void): void;
/**
* Clear the console
*/
clear(): void;
/**
* Remove the element containing the previous output
*/
clearLast(): void;
}