Skip to content

docs: use declare module#1

Draft
sushichan044 wants to merge 2 commits intomainfrom
sushichan044-202510071119-declare
Draft

docs: use declare module#1
sushichan044 wants to merge 2 commits intomainfrom
sushichan044-202510071119-declare

Conversation

@sushichan044
Copy link
Member

@sushichan044 sushichan044 commented Oct 7, 2025

ImportMeta など既存の interface を user land で拡張する場合は declaration merging というやり方をすることが多いので、
そちらに合わせて sample を更新します

https://www.typescriptlang.org/docs/handbook/declaration-merging.html

@sushichan044
Copy link
Member Author

TODO: 多分 declaration merging でも動くんだけど検証してないので検証する

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.

1 participant