summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HighResolutionTime/DOMHighResTimeStamp.idl
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-03-06 23:56:20 +0000
committerLinus Groh <mail@linusgroh.de>2023-03-06 23:57:25 +0000
commit2258fc273c9eb0db404a8020b8621fab31d1f7f7 (patch)
treee54e4fe06995816cc768e36b0960d7c5598b0892 /Userland/Libraries/LibWeb/HighResolutionTime/DOMHighResTimeStamp.idl
parentca30914fe9476b675926b0023b464ecaa800fb3b (diff)
downloadserenity-2258fc273c9eb0db404a8020b8621fab31d1f7f7.zip
LibWeb/HighResolutionTime: Add IDL typedef for DOMHighResTimeStamp
We already have this for C++ code in DOMHighResTimeStamp.h, but let's also avoid using plain 'double' in IDL code.
Diffstat (limited to 'Userland/Libraries/LibWeb/HighResolutionTime/DOMHighResTimeStamp.idl')
-rw-r--r--Userland/Libraries/LibWeb/HighResolutionTime/DOMHighResTimeStamp.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HighResolutionTime/DOMHighResTimeStamp.idl b/Userland/Libraries/LibWeb/HighResolutionTime/DOMHighResTimeStamp.idl
new file mode 100644
index 0000000000..7b4c735867
--- /dev/null
+++ b/Userland/Libraries/LibWeb/HighResolutionTime/DOMHighResTimeStamp.idl
@@ -0,0 +1,2 @@
+// https://w3c.github.io/hr-time/#dom-domhighrestimestamp
+typedef double DOMHighResTimeStamp;