Skip to content

Conversation

@erunion
Copy link
Member

@erunion erunion commented Apr 9, 2025

🧰 Changes

Enables isolatedDeclarations in our TS config for improved types.

@erunion erunion added the enhancement New feature or request label Apr 9, 2025
@erunion erunion requested a review from kanadgupta April 9, 2025 00:41
Copy link
Member

@kanadgupta kanadgupta left a comment

Choose a reason for hiding this comment

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

hell yeah brother (i was going to add a bunch of inline feedback but decided to toss it in #272 instead)

}));

export const extname = (targetId: TargetId, clientId: ClientId) => {
export const extname = (targetId: TargetId, clientId: ClientId): '' | `.${string}` => {
Copy link
Member

Choose a reason for hiding this comment

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

love this

@erunion erunion merged commit 60639da into main Apr 9, 2025
11 of 13 checks passed
@erunion erunion deleted the feat/isolated-declarations branch April 9, 2025 17:23
kanadgupta added a commit that referenced this pull request Apr 9, 2025
rides the coattails of #271
with a few stricter return types and a little `tsconfig.json` cleanup.

---------

Co-authored-by: Jon Ursenbach <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants