Skip to content

fix: use export function or export const instead of exports#101

Merged
SukkaW merged 2 commits intohexojs:masterfrom
yoshinorin:fix/ts-export
Sep 11, 2022
Merged

fix: use export function or export const instead of exports#101
SukkaW merged 2 commits intohexojs:masterfrom
yoshinorin:fix/ts-export

Conversation

@yoshinorin
Copy link
Member

I'm not familiar with TS. But, my understanding we have to use export function or export const instead of exports.xxxx. Actually, the current fs.d.ts which is generated when run npm run build does not contain function definitions.

Thank you :)

@coveralls
Copy link

coveralls commented Sep 11, 2022

Coverage Status

Coverage increased (+0.01%) to 96.691% when pulling c988919 on yoshinorin:fix/ts-export into c89e5bc on hexojs:master.

@yoshinorin
Copy link
Member Author

@tommy351 @NoahDragon
Would you please remove appveyor integration?
Thanks.

@yoshinorin yoshinorin changed the title fix: export function or export const instead of exports fix: use export function or export const instead of exports Sep 11, 2022
@SukkaW SukkaW merged commit e1c9f2f into hexojs:master Sep 11, 2022
@yoshinorin yoshinorin deleted the fix/ts-export branch September 12, 2022 13:52
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