Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5c8cb5c

Browse files
ecklfDamian Sznajder
authored and
Damian Sznajder
committed
Fix return type for tsrfc / tsrfce
fixes #86
1 parent 1578416 commit 5c8cb5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎snippets/ts-snippets.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"\t",
6565
"}",
6666
"",
67-
"function ${1:${TM_FILENAME_BASE}}(): Props {",
67+
"function ${1:${TM_FILENAME_BASE}}({}: Props): ReactElement {",
6868
"\treturn (",
6969
"\t\t<div>",
7070
"\t\t\t0ドル",
@@ -86,7 +86,7 @@
8686
"\t",
8787
"}",
8888
"",
89-
"export default function ${1:${TM_FILENAME_BASE}}(): Props {",
89+
"export default function ${1:${TM_FILENAME_BASE}}({}: Props): ReactElement {",
9090
"\treturn (",
9191
"\t\t<div>",
9292
"\t\t\t0ドル",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /