JordanJ
Denoβ€’4y agoβ€’
3 replies
Jordan

split error when using std toml

here's the error:
$ deno run -A toml.ts
error: Uncaught (in promise) TypeError: subStr.split is not a function
      const lines = subStr.split("\n");
                           ^
    at parse (https://deno.land/std@0.162.0/encoding/_toml/parser.ts:873:28)        
    at file:///C:/Users/jorda/crate/playground/toml.ts:5:13
Was this page helpful?