Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add types#44

Merged
wooorm merged 2 commits intomasterFlet/github-slugger:masterfrom
typesFlet/github-slugger:typesCopy head branch name to clipboard
Oct 27, 2022
Merged

Add types#44
wooorm merged 2 commits intomasterFlet/github-slugger:masterfrom
typesFlet/github-slugger:typesCopy head branch name to clipboard

Conversation

@wooorm
Copy link
Copy Markdown
Collaborator

@wooorm wooorm commented Oct 27, 2022

This adds TypeScript types, through JSDoc, while the language of the code remains JavaScript.

It’ll help people who do use TypeScript potentially catch some bugs, but particularly give them documentation about the project in their editors.
The code remains JavaScript so people who are unfamiliar with TypeScript can still contribute.

/cc @Flet

Copy link
Copy Markdown
Owner

@Flet Flet left a comment

Choose a reason for hiding this comment

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

❤️

@wooorm wooorm merged commit 36dcddd into master Oct 27, 2022
@wooorm wooorm deleted the types branch October 27, 2022 16: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

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.