Import js-yaml


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

import * as yaml from "js-yaml

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

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