Skip to main content
Solved

Import js-yaml


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

Best answer by tank666

figma.com
View original
This topic has been closed for comments

2 replies

tank666
  • 4858 replies
  • Answer
  • August 1, 2023

  • 0 replies
  • August 4, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings