DenoDDeno
Powered by
kittyamazing_K
Denoโ€ข2y agoโ€ข
1 reply
kittyamazing_

no-slow-types should not trigger on 'as const' objects

I get an on-slow-types error for an
as const
as const
object, but shouldn't this be inferred?

https://github.com/denodrivers/sqlite3/actions/runs/8774511607/job/24075784522?pr=124
https://github.com/halvardssm/deno-sqlite/blob/feat/sqlx/src/ffi.ts#L588
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

error[no-slow-types]: super class expression was too complex
mabasicMmabasic / help
4mo ago
Using inferred types from libs like `zod` and `arktype` with the `no-slow-types` rule
cowboydCcowboyd / help
3mo ago
xstate - no types imported
shultz๐Ÿ‡ฎ๐Ÿ‡ฑSshultz๐Ÿ‡ฎ๐Ÿ‡ฑ / help
4y ago
Extract TypeScript types as JSON?
.armaan.s...armaan.s. / help
2y ago