Skip to content
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

PR review comments #1

Merged
merged 2 commits into from
May 6, 2021
Merged

Conversation

nicojs
Copy link

@nicojs nicojs commented May 3, 2021

No description provided.


export type ScriptFormat = AstFormat.JS | AstFormat.TS | AstFormat.Tsx;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this helper type, so we won't have to list all 3 of them all the time.

@@ -19,6 +19,9 @@ describe(`${disableTypeChecks.name} integration`, () => {
it('should be able disable type checks of a vue file', async () => {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest is the PR is adding unit and integration tests

/**
* Represents a TS AST
*/
export interface TsxAst extends BaseAst {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've created tsx as its own Ast, that way its a bit more explicit.

@zeyangxu zeyangxu merged commit d14d9c5 into zeyangxu:master May 6, 2021
@nicojs nicojs deleted the zeyangxu/master branch July 2, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants