This namespace serves as a container for various child components of the ts-workspace module.
- See:
-
ChildClass
for extended class implementationsChildInterface
for additional interface declarationsEnum
for enumeration typesfunction
for utility functions
Members
enum
# static constant Enum
Enumeration of string options for consistent value representation.
This enum provides a set of predefined options that can be used throughout the application.
Methods
# static something(…args) → {Type.<T>}
Generic function that logs arguments and returns the context (this) of the function. It logs all provided arguments to the console and returns the context (this) of the function.
This function is a generic method that extends the Class type.
{T}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
args |
V
|
<repeatable> |
Variable number of arguments of type V |
- See:
-
Class
Type
Returns the context (this) of the function
Type.<T>
Example
class MyClass extends Class {
myMethod() {
return something.call(this, 'arg1', 'arg2');
}
}
const instance = new MyClass();
const result = instance.myMethod();
// Logs: 'arg1', 'arg2'
// result is the instance of MyClass