13 lines
237 B
TypeScript
13 lines
237 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @allowJs: true
|
|
// @target: esnext
|
|
|
|
// @Filename: /a.js
|
|
////const a = require('a'); a;
|
|
|
|
verify.codeFix({
|
|
description: "Convert to ES6 module",
|
|
newFileContent: "import a from 'a'; a;",
|
|
});
|