Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Fix declaration types for icons #114

Merged
merged 2 commits into from
Nov 11, 2023

Conversation

brawaru
Copy link
Contributor

@brawaru brawaru commented Oct 22, 2023

Re-export icons using consts to help TypeScript resolve proper types for
icon files since we cannot really declare export types for files with
custom extensions and parameters (.svg?component) in declarations.

Re-export icons using consts to help TypeScript resolve proper types for
icon files since we cannot really declare export types for files with
custom extensions and parameters (`.svg?component`) in declarations.
@triphora triphora merged commit ca54544 into modrinth:master Nov 11, 2023
1 check passed
@brawaru brawaru deleted the fix/svg-exports-types branch November 20, 2023 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants