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

Ts file snippet is not rendering #361

Open
LowBP opened this issue Apr 25, 2019 · 1 comment
Open

Ts file snippet is not rendering #361

LowBP opened this issue Apr 25, 2019 · 1 comment

Comments

@LowBP
Copy link

LowBP commented Apr 25, 2019

Steps to reproduce the behavior:

  1. Ember install ember-cli-typescript --save
  2. Create a route docs/button
  3. In docs/button/controller.ts
  // BEGIN-SNIPPET docs-button.ts
    @action  
       onClick(){
      }
  // END-SNIPPET
  1. In docs/button/template.hbs
    {{demo.snippet name='docs-button.ts'}}

Version details

 "ember-cli": "~3.8.1",
 "ember-source": "~3.8.0",
 "ember-cli-addon-docs": "^0.6.7",
 "ember-cli-typescript": "^2.0.0",
@dfreeman
Copy link
Contributor

Looks like 'ts' should be added to the default snippet extensions array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants