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

refactor: migrate typescript #119

Merged
merged 12 commits into from
Oct 28, 2022
Merged

refactor: migrate typescript #119

merged 12 commits into from
Oct 28, 2022

Conversation

yoshinorin
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Sep 18, 2022

Coverage Status

Coverage increased (+0.03%) to 98.413% when pulling efbff2e on refactor/replace-typescript into 8f9dff3 on master.

@yoshinorin yoshinorin marked this pull request as ready for review September 18, 2022 17:12
@yoshinorin yoshinorin changed the title [WIP] refactor: migrate typescript refactor: migrate typescript Sep 18, 2022
@yoshinorin
Copy link
Member Author

@hexojs/core
Maybe ready. I think we can improve more type-safe. But, I want to merge this once before brush-up.

lib/log.ts Outdated Show resolved Hide resolved
@@ -141,4 +160,4 @@ function createLogger(options) {
return logger;
}

module.exports = createLogger;
export const logger = (option: Options) => createLogger(option);
Copy link
Member

Choose a reason for hiding this comment

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

I don't think it's suitable here.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, I'll check it.

Copy link
Member Author

Choose a reason for hiding this comment

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

@renbaoshuo
Done. Ready :)

@yoshinorin yoshinorin merged commit a0ce3ee into master Oct 28, 2022
@yoshinorin yoshinorin deleted the refactor/replace-typescript branch October 28, 2022 10:50
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.

4 participants