fix: make application port contracts checkJs-safe

This commit is contained in:
donghyeon-ka
2026-07-25 20:40:21 +09:00
parent 49b20bd557
commit d7480cbafd
3 changed files with 20 additions and 3 deletions
+1
View File
@@ -5,6 +5,7 @@
* }} ClockPort
*/
/** @type {ClockPort} */
export const systemClock = Object.freeze({
now: () => Date.now(),
sleep(milliseconds, signal) {
+1 -1
View File
@@ -22,7 +22,7 @@
/**
* @template Value
* @typedef {{ ok: true, value: Value, meta?: Record<string, unknown> } |
* { ok: false, error: import("../../contracts/errors.js").ApiFailure }} Result
* { ok: false, error: unknown }} Result
*/
export {};