Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions generics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ TypeScriptでは組み込みの型変換のためのジェネリクスのユー
return function(): any {
if (!isInit) {
cache = init();
isInit = true;
}
return cache;
}
Expand Down Expand Up @@ -260,6 +261,7 @@ TypeScriptでは組み込みの型変換のためのジェネリクスのユー
return function(): T {
if (!isInit) {
cache = init();
isInit = true;
}
return cache;
}
Expand Down