Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for shouldTransformTypescript blueprint property #311

Merged
merged 2 commits into from
Dec 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions guides/advanced-use/blueprints.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,14 @@ ember generate <blueprint> <options...>
module.exports = {
description: "Generates a foo",

/*
* Indicates whether or not a blueprint is a candidate for automatic transpilation from TS to JS.
* This property could be `false` in the case that the blueprint is written in JS and is not intended
* to work with TS at all, OR in the case that the blueprint is written in TS and the author does
* not intend to support transpilation to JS.
*/
shouldTransformTypeScript: true,

availableOptions: [
{
name: "type",
Expand Down
Loading