typescript-plugin-yaml
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

typescript-plugin-yaml

A Typescript Language Service plugin for YAML.

Usage

# With PNPM
pnpm add typescript-plugin-yaml -D

# With Yarn
yarn add -D typescript-plugin-yaml

And then add this to tsconfig.json.

{
  "compilerOptions": {
    "plugins": [{ "name": "typescript-plugin-yaml" }]
  }
}

To use this plugin with Visual Studio Code, you should set your workspace's version of TypeScript, which will load plugins from your tsconfig.json file. see: Using the workspace version of TypeScript.

Debugging

You can view TS Server log by enter Typescript: Open TS Server log in Command Palette.

About

This plugin was inspired by typescript-plugin-css-modules and borrows heavily from its approach. Thanks for this awesome project.

Package Sidebar

Install

npm i typescript-plugin-yaml

Weekly Downloads

39

Version

0.0.5

License

MIT

Unpacked Size

26.4 kB

Total Files

7

Last publish

Collaborators

  • await_o