Skip to content

v0.6.4

Choose a tag to compare

@github-actions github-actions released this 12 Aug 05:37
· 10 commits to main since this release
6443d6f

Patch Changes

  • #100 1dd70f6 Thanks @kimjbstar! - Adopt TypeScript strict mode across the generator's own source and specs. This is an internal
    type-safety change with no difference in generated output (the golden fixture snapshots are
    byte-identical), but it did tighten a few types that were previously lying about what they can
    hold at runtime: getPrimitiveMapTypeFromDMMF() now declares the undefined it already returned
    for non-scalar fields, ImportComponent#getReplacePath() declares its null, prettierOptions
    declares the null prettier itself returns when a project has no config file, and
    handleGenerateError() accepts unknown instead of assuming a catch block always yields an
    Error.