]> git.codecow.com Git - nano-pow.git/commitdiff
Adjust typings.
authorChris Duncan <chris@codecow.com>
Sun, 31 May 2026 06:47:22 +0000 (23:47 -0700)
committerChris Duncan <chris@codecow.com>
Sun, 31 May 2026 06:47:22 +0000 (23:47 -0700)
src/utils/index.ts

index 3160d10ce4fa37793625190bb659588741648b0d..2430a0650c0d4c247cd4828f5f6c95006ff1656a 100644 (file)
@@ -2,13 +2,13 @@
 //! SPDX-License-Identifier: GPL-3.0-or-later
 
 export * from './api-support'
-export * from './bigint'
+export * from './bytes'
 export * from './cache'
 export * from './logger'
 export * from './queue'
 
-export const SEND = 0xfffffff800000000n
-export const RECEIVE: bigint = 0xfffffe0000000000n
+export const SEND = 0xfffffff800000000n as const
+export const RECEIVE = 0xfffffe0000000000n as const
 
 type Averages = {
        count: number,