Skip to content

Conversation

@wemeetagain
Copy link
Member

BREAKING CHANGE: All interfaces now need to use method signature style rather than property function style

eg:
before

interface Foo {
  bar: (baz: number) => void
}

after

interface Foo {
  bar(baz: number): void
}

@achingbrain achingbrain merged commit 5fadfb7 into ipfs:master Sep 30, 2023
github-actions bot pushed a commit that referenced this pull request Sep 30, 2023
## [41.0.0](v40.0.13...v41.0.0) (2023-09-30)

### ⚠ BREAKING CHANGES

* 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
}
```

### Dependencies

* update eslint-config-ipfs ([#1374](#1374)) ([5fadfb7](5fadfb7))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants