Skip to main content

hi,


i am trying to import the package “js-yaml” into my code.ts.


import * as yaml from "js-yaml

yaml.dump({})


but when i run it i get the following error:


Syntax error on line 1: Unexpected token

import * as yaml from “js-yaml”;


hope someone help

figma.com

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.