-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps!: update eslint-config-ipfs (#1374)
- See ipfs/eslint-config-ipfs#190 BREAKING CHANGE: All interfaces now need to use method signature style rather than property function style eg: before ```ts interface Foo { bar: (baz: number) => void } ``` after ```ts interface Foo { bar(baz: number): void } ```
- Loading branch information
1 parent
2fd5479
commit 5fadfb7
Showing
7 changed files
with
10 additions
and
10 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
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
2 changes: 1 addition & 1 deletion
2
test/fixtures/projects/a-monorepo/packages/a-workspace-project/src/types.ts
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export interface ExportedButNotInExports { | ||
aMethod: () => void | ||
aMethod(): void | ||
} |
2 changes: 1 addition & 1 deletion
2
test/fixtures/projects/a-monorepo/packages/another-workspace-project/src/types.ts
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export interface ExportedButNotInExports { | ||
aMethod: () => void | ||
aMethod(): void | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export interface ExportedButNotInExports { | ||
aMethod: () => void | ||
aMethod(): void | ||
} | ||
|
||
export interface UsedButNotExported { | ||
aMethod: () => void | ||
aMethod(): void | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export interface ExportedButNotInExports { | ||
aMethod: () => void | ||
aMethod(): void | ||
} | ||
|
||
export interface UsedButNotExported { | ||
aMethod: () => void | ||
aMethod(): void | ||
} |