Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 31, 2024
1 parent ec1be41 commit 3e02994
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Options, HttpResponse } from 'error-http-response'
import type { HttpResponse, Options } from 'error-http-response'
import type { Info } from 'modern-errors'

export type { Options, HttpResponse }
export type { HttpResponse, Options }

/**
* `modern-errors-http` plugin
Expand Down
4 changes: 2 additions & 2 deletions src/main.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ModernError from 'modern-errors'
import { expectType, expectAssignable, expectNotAssignable } from 'tsd'
import { expectAssignable, expectNotAssignable, expectType } from 'tsd'

import plugin, { type Options, type HttpResponse } from 'modern-errors-http'
import plugin, { type HttpResponse, type Options } from 'modern-errors-http'

const BaseError = ModernError.subclass('BaseError', { plugins: [plugin] })
const error = new BaseError('')
Expand Down

0 comments on commit 3e02994

Please sign in to comment.