Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit d1eb99a

Browse files
committed
feat: add Y.d.ts for global variables
1 parent ac6ab7a commit d1eb99a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/@types/Y.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// グローバル変数を ts ファイル内で使う方法
2+
// via https://stackoverflow.com/questions/13252225/call-a-global-variable-inside-typescript-module
3+
declare const Y: any

0 commit comments

Comments
 (0)