–– Pkl Error ––
Expected value of type `String`, but got type `Int`.
Value: 42

x | res1: String = 42
          ^^^^^^
at typedModuleProperties2#res1 (file:///$snippetsDir/input/modules/typedModuleProperties2.pkl)

x | res1: String = 42
                   ^^
at typedModuleProperties2#res1 (file:///$snippetsDir/input/modules/typedModuleProperties2.pkl)

xxx | renderer.renderDocument(value)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at pkl.base#Module.output.text (pkl:base)

xxx | if (renderer is BytesRenderer) renderer.renderDocument(value) else text.encodeToBytes("UTF-8")
                                                                         ^^^^
at pkl.base#Module.output.bytes (pkl:base)
