style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -67,7 +67,9 @@ describe('Bun.hash Node.js polyfill (FNV-1a)', () => {
// unsigned int. They use different widths so direct equality is not expected.
// This test just verifies the native API exists and returns a numeric type.
if (typeof globalThis.Bun?.hash === 'function') {
const result = (globalThis.Bun.hash as (s: string) => bigint | number)('hello')
const result = (globalThis.Bun.hash as (s: string) => bigint | number)(
'hello',
)
expect(['number', 'bigint']).toContain(typeof result)
}
})