diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-01-07 00:53:23 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-01-07 00:53:23 +0530 |
| commit | 2a0815eeb378b0140ef2885514715fb00db7a11e (patch) | |
| tree | 6e1c2e2e86269bae4a36f8ffac32d58ca5c6507c /stdlib/stdio.ts | |
| parent | d5d685253568f8c6855dd873ac3623e0af642d54 (diff) | |
| download | ts-types-lang-2a0815eeb378b0140ef2885514715fb00db7a11e.tar.gz ts-types-lang-2a0815eeb378b0140ef2885514715fb00db7a11e.zip | |
refactor: moves stdlib around + package stuff
Diffstat (limited to 'stdlib/stdio.ts')
| -rw-r--r-- | stdlib/stdio.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/stdlib/stdio.ts b/stdlib/stdio.ts new file mode 100644 index 0000000..365aead --- /dev/null +++ b/stdlib/stdio.ts @@ -0,0 +1,12 @@ +import { Effect } from './io' + +export interface PutString<_ extends string> extends Effect { } + +export interface Print<_ extends any> extends Effect { } + +export interface Debug<_ extends string, T> extends Effect<T> { } + +export interface ReadLine extends Effect<string> { } + +export type PutStringLn<S extends string> = PutString<`${S}\n`> + |
