Skip to content

[FEATURE] Permit to use generic and parse data #8

Description

@90dy

Example usage

// If applicable, provide an example of how you would like to use this feature
import { yaml } from "ts-tmpl-engine";

const example = yaml`
apiVersion: kubeadm.k8s.io/v1beta4
[...]
`.parse<{ apiVersion: string }>();
  • @tmpl/core
  • @tmpl/gen
  • vscode-extension

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions