import { RequestPromise } from 'request-promise'

declare class Properties {
  get(): RequestPromise

  getByName(name: string): RequestPromise

  create(data: {}): RequestPromise

  update(name: string, data: {}): RequestPromise

  upsert(data: {}): RequestPromise

  getGroups(): RequestPromise

  createGroup(data: {}): void

  updateGroup(name: string, data: {}): void

  deleteGroup(name: string): void

  delete(name: string): void
}

export { Properties }

import { RequestPromise } from 'request-promise'

declare class Properties {
  get(): RequestPromise

  getByName(name: string): RequestPromise

  create(data: {}): RequestPromise

  update(name: string, data: {}): RequestPromise

  upsert(data: {}): RequestPromise

  getGroups(): RequestPromise

  createGroup(data: {}): void

  updateGroup(name: string, data: {}): void

  deleteGroup(name: string): void

  delete(name: string): RequestPromise
}

export { Properties }

Change the delete response from void to RequestPromise
Change the delete response from void to RequestPromise
