-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
es config updated for es6 ci for es6 test
- Loading branch information
Showing
8 changed files
with
78 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ dts | |
lib | ||
temp | ||
es | ||
es6 | ||
amd | ||
|
||
type_definitions/inversify/*.js | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,39 +14,44 @@ describe("Issue 543", () => { | |
Root: Symbol.for("Root") | ||
}; | ||
|
||
interface IIrrelevant {} | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
notaphplover
Member
|
||
interface ICircular{} | ||
interface IChild {} | ||
interface IChild2 {} | ||
|
||
@injectable() | ||
class Irrelevant {} | ||
class Irrelevant implements IIrrelevant {} | ||
|
||
@injectable() | ||
class Child2 { | ||
public circ: unknown; | ||
class Child2 implements IChild2 { | ||
public circ: ICircular; | ||
public constructor( | ||
@inject(TYPE.Circular) circ: unknown | ||
@inject(TYPE.Circular) circ: ICircular | ||
) { | ||
this.circ = circ; | ||
} | ||
} | ||
|
||
@injectable() | ||
class Child { | ||
public irrelevant: unknown; | ||
public child2: unknown; | ||
class Child implements IChild { | ||
public irrelevant: IIrrelevant; | ||
public child2: IChild2; | ||
public constructor( | ||
@inject(TYPE.Irrelevant) irrelevant: unknown, | ||
@inject(TYPE.Child2) child2: unknown | ||
@inject(TYPE.Irrelevant) irrelevant: IIrrelevant, | ||
@inject(TYPE.Child2) child2: IChild2 | ||
) { | ||
this.irrelevant = irrelevant; | ||
this.child2 = child2; | ||
} | ||
} | ||
|
||
@injectable() | ||
class Circular { | ||
public irrelevant: unknown; | ||
public child: unknown; | ||
class Circular implements Circular { | ||
public irrelevant: IIrrelevant; | ||
public child: IChild; | ||
public constructor( | ||
@inject(TYPE.Irrelevant) irrelevant: unknown, | ||
@inject(TYPE.Child) child: unknown | ||
@inject(TYPE.Irrelevant) irrelevant: IIrrelevant, | ||
@inject(TYPE.Child) child: IChild | ||
) { | ||
this.irrelevant = irrelevant; | ||
this.child = child; | ||
|
@@ -55,11 +60,11 @@ describe("Issue 543", () => { | |
|
||
@injectable() | ||
class Root { | ||
public irrelevant: unknown; | ||
public circ: unknown; | ||
public irrelevant: IIrrelevant; | ||
public circ: ICircular; | ||
public constructor( | ||
@inject(TYPE.Irrelevant) irrelevant1: unknown, | ||
@inject(TYPE.Circular) circ: unknown | ||
@inject(TYPE.Irrelevant) irrelevant1: IIrrelevant, | ||
@inject(TYPE.Circular) circ: ICircular | ||
) { | ||
this.irrelevant = irrelevant1; | ||
this.circ = circ; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if we add eslint this is gonna throw an error for being an interface with no properties, same for the rest of the empty interfaces