fix-bad-declaration-output
Version:
Do you have bad declarations? Is it too hard to fix complex tooling? (Or do you not have the time to learn how?)
14 lines (11 loc) • 304 B
JavaScript
import { fixReferences } from './typescript.js';
const defaultFind = 'ember';
/**
* @param {string} contents
* @param {{ types?: string }} [ options ]
*/
export function fixEmberReferences(contents, options = {}) {
return fixReferences(contents, {
types: options.types || defaultFind,
});
}