FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix failing tests · microsoft/TypeScript@555b4ae · GitHub

Commit 555b4ae

Browse files
committed
fix failing tests
1 parent 1bf4d06 commit 555b4ae

5 files changed

Lines changed: 11 additions & 0 deletions

‎tests/cases/fourslash/importNameCodeFixNewImportAllowSyntheticDefaultImports2.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference path="fourslash.ts" />
22
// @AllowSyntheticDefaultImports: false
3+
// @Module: system
34

45
// @Filename: a/f1.ts
56
//// [|export var x = 0;

‎tests/cases/fourslash/importNameCodeFixUMDGlobal0.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
/// <reference path="fourslash.ts" />
22

3+
// @AllowSyntheticDefaultImports: false
4+
// @Module: es2015
5+
36
// @Filename: a/f1.ts
47
//// [|export function test() { };
58
//// bar1/*0*/.bar;|]

‎tests/cases/fourslash/importNameCodeFixUMDGlobal1.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
/// <reference path="fourslash.ts" />
22

3+
// @AllowSyntheticDefaultImports: false
4+
// @Module: esnext
5+
36
// @Filename: a/f1.ts
47
//// [|import { bar } from "./foo";
58
////

‎tests/cases/fourslash/importNameCodeFixUMDGlobalReact0.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/// <reference path="fourslash.ts" />
22

33
// @jsx: react
4+
// @allowSyntheticDefaultImports: false
5+
// @module: es2015
46

57
// @Filename: /node_modules/@types/react/index.d.ts
68
////export = React;

‎tests/cases/fourslash/importNameCodeFixUMDGlobalReact1.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/// <reference path="fourslash.ts" />
22

33
// @jsx: react
4+
// @allowSyntheticDefaultImports: false
5+
// @module: es2015
46

57
// @Filename: /node_modules/@types/react/index.d.ts
68
////export = React;

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL