diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-01-08 23:07:41 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-01-08 23:07:41 +0530 |
| commit | 580ef150778326262d04018460f672bda53d5696 (patch) | |
| tree | 53b93a2e381e6c15ed4e959f766fc88afc234a0f /src/index.ts | |
| parent | a41d70afe7692e4ef344bc3c599115009f2dad15 (diff) | |
| download | ts-types-lang-580ef150778326262d04018460f672bda53d5696.tar.gz ts-types-lang-580ef150778326262d04018460f672bda53d5696.zip | |
chore: adds prettier
Diffstat (limited to '')
| -rw-r--r-- | src/index.ts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/index.ts b/src/index.ts index 2fa1f96..65349fc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,14 +1,15 @@ -import { createContext } from './context'; -import { evalList } from './eval'; +import { createContext } from './context' +import { evalList } from './eval' const main = async () => { const ctx = createContext() const resultType = ctx.entryPoint.getType() - const effects = resultType.isTuple() ? resultType.getTupleElements() : [resultType] + const effects = resultType.isTuple() + ? resultType.getTupleElements() + : [resultType] await evalList(ctx, effects) } main() .then(() => process.exit(0)) - .catch(e => (console.error(e), process.exit(1))) - + .catch((e) => (console.error(e), process.exit(1))) |
