Skip to content

Commit

Permalink
fix: import/newline-after-import lint violation in global.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish committed Aug 29, 2022
1 parent 057c674 commit 1d3eddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ts/blueprints/ember-cli-typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function buildTemplateDeclarations(projectName, layout) {
const comment = '// Types for compiled templates';
const moduleBody = `
import { TemplateFactory } from 'htmlbars-inline-precompile';
const tmpl: TemplateFactory;
export default tmpl;
`;
Expand Down
1 change: 1 addition & 0 deletions ts/tests/blueprints/ember-cli-typescript-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ describe('Acceptance: ember-cli-typescript generator', function () {
expect(globalTypes).to.exist;
expect(globalTypes).to.include("declare module 'my-addon/templates/*'").to.include(`
import { TemplateFactory } from 'htmlbars-inline-precompile';
const tmpl: TemplateFactory;
export default tmpl;
`);
Expand Down

0 comments on commit 1d3eddc

Please sign in to comment.