Skip to content

Use TypeScript compiler for Hypergrid JS build #6

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

Merged
merged 3 commits into from
Feb 3, 2021

Conversation

aaronbloom
Copy link
Collaborator

No description provided.

this.mouseDownState = null;
});
});

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Incorrectly deleted.

@aaronbloom aaronbloom force-pushed the feature/update-jsdoc-for-ts-compiler branch from a989dbb to 5b42556 Compare February 2, 2021 11:14
@aaronbloom aaronbloom changed the title WIP: Initial pass at compiling Hypergrid JS files with TypeScript Use TypeScript compiler for Hypergrid JS build Feb 2, 2021

callback(null, content); // the first argument is an error, if you encounter one
let filename = path.basename(file.path, "." + type);
callback(null, `exports.${filename} = \`\n${content}\`;\n`); // the first argument is an error, if you encounter one
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated to use ` string literals as previously it would output an bad format.

Generally this gulp file should be removed and replace with independent common commands for linting etc.

@aaronbloom aaronbloom merged commit 747c747 into master Feb 3, 2021
@aaronbloom aaronbloom deleted the feature/update-jsdoc-for-ts-compiler branch February 3, 2021 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant