summaryrefslogtreecommitdiff
path: root/remarks/WR-003.txt
diff options
context:
space:
mode:
authornetop://ウィビ <paul@webb.page>2026-04-11 14:24:49 -0700
committernetop://ウィビ <paul@webb.page>2026-04-11 14:24:49 -0700
commit8c34d810af95fae0ef846f54370a8c88bfab7123 (patch)
tree436beaf30f7b2b3f15741dd54a37e313964d1f7d /remarks/WR-003.txt
initial commitHEADprimary
Diffstat (limited to 'remarks/WR-003.txt')
-rw-r--r--remarks/WR-003.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/remarks/WR-003.txt b/remarks/WR-003.txt
new file mode 100644
index 0000000..7a04413
--- /dev/null
+++ b/remarks/WR-003.txt
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+Document: WR-003 P. Webb
+ 2024.11.05
+
+ setInterval - Type "Timer" is not assignable to type "number"
+
+Body
+
+ Ran into a linting issue with Typescript when using setInterval for
+ something. This comment from 2017[1] saved me:
+
+ > Use `window.setInterval` instead.
+
+References
+
+ [1] <https://github.com/TypeStrong/atom-typescript/issues/1053#issuecomment-321126192>