Skip to content

Commit

Permalink
Merge pull request #167 from geigerzaehler/strict-types
Browse files Browse the repository at this point in the history
Make typings compatible with strict typescript
  • Loading branch information
TimBeyer authored Jan 7, 2019
2 parents d721805 + b5b2b0d commit 74eb6e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as axios from '@contentful/axios'

export interface Movement {
toTheTop()
toTheBottom()
beforeField(field: string)
afterField(field: string)
toTheTop(): void
toTheBottom(): void
beforeField(field: string): void
afterField(field: string): void
}

type FieldType = 'Symbol' | 'Text' | 'Integer' | 'Number' | 'Date' | 'Boolean' | 'Object' | 'Location' | 'RichText' | 'Array' | 'Link'
Expand Down

0 comments on commit 74eb6e4

Please sign in to comment.