Skip to content

Commit

Permalink
Add docs for shouldTransformTypescript blueprint property
Browse files Browse the repository at this point in the history
  • Loading branch information
achambers authored Nov 10, 2023
1 parent e494d46 commit 927ddf2
Showing 1 changed file with 8 additions and 0 deletions.
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

0 comments on commit 927ddf2

Please sign in to comment.