-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`types(groq-builder): improved logging
- Loading branch information
scottrippey
committed
Oct 5, 2023
1 parent
13a57ec
commit 934e5b1
Showing
4 changed files
with
41 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { simplifyTypes } from "../src/simplify-types"; | ||
|
||
declare const process: { argv: string[] }; | ||
const [_, __, source, output] = process.argv; | ||
simplifyTypes({ source, output }); | ||
const [_, __, sourceFile, outputFile] = process.argv; | ||
const outputText = simplifyTypes({ sourceFile }); | ||
console.log(outputText); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.