We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0882e0a commit 3ea62c0Copy full SHA for 3ea62c0
src/lib/esnext.sharedmemory.d.ts
@@ -1,7 +1,7 @@
1
-interface Atomics {
2
- /**
3
- * Performs a finite-time microwait by signaling to the operating system or
4
- * CPU that the current executing code is in a spin-wait loop.
5
- */
6
- pause(n?: number): void;
7
-}
+interface Atomics {
+ /**
+ * Performs a finite-time microwait by signaling to the operating system or
+ * CPU that the current executing code is in a spin-wait loop.
+ */
+ pause(n?: number): void;
+}
tests/cases/conformance/esnext/esnextSharedMemory.ts
@@ -1,4 +1,4 @@
-// @lib: esnext
-
-Atomics.pause();
-Atomics.pause(1);
+// @lib: esnext
+
+Atomics.pause();
+Atomics.pause(1);
0 commit comments