2019-01-17 04:18:25 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @jsx: preserve
|
|
|
|
// @noLib: true
|
|
|
|
// @libFiles: react.d.ts,lib.d.ts
|
|
|
|
|
|
|
|
// @Filename: file.tsx
|
|
|
|
//// import React = require('react');
|
|
|
|
//// [|<div/>;|]
|
|
|
|
//// <div/>;
|
|
|
|
|
|
|
|
verify.moveToNewFile({
|
|
|
|
newFileContents: {
|
|
|
|
"/tests/cases/fourslash/file.tsx":
|
|
|
|
`import React = require('react');
|
|
|
|
<div/>;`,
|
|
|
|
"/tests/cases/fourslash/newFile.tsx":
|
|
|
|
`import React = require('react');
|
2020-07-22 19:31:42 +02:00
|
|
|
|
2019-01-17 04:18:25 +01:00
|
|
|
<div />;
|
|
|
|
`,
|
|
|
|
}
|
|
|
|
});
|