Skip to content

Add types using @ts-check#8

Merged
creesch merged 3 commits intoTildes-MC:mainfrom
danthedaniel:main
Dec 16, 2024
Merged

Add types using @ts-check#8
creesch merged 3 commits intoTildes-MC:mainfrom
danthedaniel:main

Conversation

@danthedaniel
Copy link
Copy Markdown
Member

One small non-type change:

  • TS complained that String.replaceAll() was a ES2021 feature, so I replaced it with String.replace() using a global regex.

Copy link
Copy Markdown
Collaborator

@creesch creesch left a comment

Choose a reason for hiding this comment

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

One actually remark on the escapeHtml function but other than that it seems good to me.

@danthedaniel danthedaniel force-pushed the main branch 2 times, most recently from dd07fe5 to 6620979 Compare December 15, 2024 21:21
* Fixed indentation for util.js to be consistently 4 spaces
* Removed trailing whitespace
* Removed carriage returns (\r\n -> \n)
@danthedaniel
Copy link
Copy Markdown
Member Author

If it's okay with you, I've added a couple small extra commits.

@creesch creesch merged commit a1f9bbf into Tildes-MC:main Dec 16, 2024
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