Skip to content

Commit

Permalink
Remove special-case lookup for TypeScript
Browse files Browse the repository at this point in the history
Since `broccoli-typescript-compiler` v8, we get `typescript` directly
ourselves, and `broccoli-typescript-compiler` uses it as a peer dep
rather than supplying it itself. Remove our custom lookup for it.
  • Loading branch information
chriskrycho committed Apr 18, 2023
1 parent cd81874 commit fc68331
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
2 changes: 1 addition & 1 deletion broccoli/deprecated-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const fs = require('fs');
const path = require('path');
const ts = require('./typescript');
const ts = require('typescript');

/**
* @param name {string}
Expand Down
2 changes: 1 addition & 1 deletion broccoli/features.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const fs = require('fs');
const ts = require('./typescript');
const ts = require('typescript');

function getFeatures() {
let fileName = 'packages/@ember/canary-features/index.ts';
Expand Down
17 changes: 0 additions & 17 deletions broccoli/typescript.js

This file was deleted.

0 comments on commit fc68331

Please sign in to comment.