-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Interpreter (to an Interface + Implementation Class) #594
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The type guards currently don't do anything, this needs to be changed. The other stuff is optional.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That one comment does not make sense anymore. Otherwise looks good
apps/interpreter/src/run-options.ts
Outdated
!isParseOnlyArgument(options.parseOnly, logger) | ||
) { | ||
return undefined; | ||
} | ||
|
||
// TypeScript does not infer type from type guards, probably fixed in TS 5.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment should be removed
--debug-target
parameter to align with other params: use a default value over undefined