This module serves as the main entry point for the ts-workspace library.
Namespaces
- Namespace
Core namespace for the ts-workspace module that aggregates and exports various components.
The namespace includes:
- Class definitions (from "./Class")
- Interface declarations (from "./Interface")
- Child namespaces and additional utilities (from "./children")
By centralizing these exports, this namespace provides a clean and organized API surface for consumers of the ts-workspace module.
- cli
A simple CLI countdown timer that serves as a minimal example of how to create a CLI application using TypeScript.
All files in the ./src/bin folder will have
#!/usr/bin/env node
included at the beginning of the file
Members
string
# inner constant VERSION
The actual version number is replaced during the build process.
Represents the current version of the ts-workspace module.
Methods
# static complexFunction(arg1opt) → {string}
Concatenates "Hello World" with a given string. Despite its name, it's a simple string concatenation operation.
This function takes an optional string argument and concatenates it with "Hello World".
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
arg1 |
string
|
<optional> |
"default" | The string to append to "Hello World". If not provided, defaults to "default". |
The resulting concatenated string
string
Examples
// returns "Hello Worlddefault"
complexFunction();
// returns "Hello World!"
complexFunction("!");